Function msdfgen_sys::msdfgen_distanceSignCorrection
source · pub unsafe extern "C" fn msdfgen_distanceSignCorrection(
sdf: *const u8,
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.