Function rsvg::filters::lighting::color_and_vector

source ยท
fn color_and_vector(
    lighting_color: &RGBA,
    source: &LightSource,
    x: f64,
    y: f64,
    z: f64,
) -> (RGBA, Vector3<f64>)
Expand description

Returns the color and unit (or null) vector from the image sample to the light.