Function msdfgen_distanceSignCorrection

Source
pub unsafe extern "C" fn msdfgen_distanceSignCorrection(
    sdf: *const msdfgen_BitmapRef<f32>,
    shape: *const msdfgen_Shape,
    projection: *const msdfgen_Projection,
    fillRule: msdfgen_FillRule,
)
Expand description

Fixes the sign of the input signed distance field, so that it matches the shape’s rasterized fill.