Function msdfgen_edgeColoringInkTrap

Source
pub unsafe extern "C" fn msdfgen_edgeColoringInkTrap(
    shape: *mut msdfgen_Shape,
    angleThreshold: f64,
    seed: c_ulonglong,
)
Expand description

The alternative “ink trap” coloring strategy is designed for better results with typefaces that use ink traps as a design feature. It guarantees that even if all edges that are shorter than both their neighboring edges are removed, the coloring remains consistent with the established rules.