Skip to main content

draw_skewed_rect_filled

Function draw_skewed_rect_filled 

Source
pub fn draw_skewed_rect_filled(
    screen: &Screen,
    cx: i32,
    cy: i32,
    w: i32,
    h: i32,
    skew_x_deg: f32,
    skew_y_deg: f32,
    color: u32,
)
Expand description

CSS transform: skewX(deg) / skewY(deg) 向け — せん断変形した塗りつぶし矩形を描く。