Skip to main content

push_gradient_quad

Function push_gradient_quad 

Source
pub fn push_gradient_quad(
    out: &mut Vec<GradientVertex>,
    x: f32,
    y: f32,
    w: f32,
    h: f32,
)
Expand description

Append six gradient vertices covering (x, y, w, h).