Struct glyph_brush_layout::ab_glyph::OutlinedGlyph [−][src]
pub struct OutlinedGlyph { /* fields omitted */ }
Expand description
A glyph that has been outlined at a scale & position.
Implementations
Constructs an OutlinedGlyph
from the source Glyph
, pixel bounds
& relatively positioned outline curves.
Draw this glyph outline using a pixel & coverage handling function.
The callback will be called for each (x, y)
pixel coordinate inside the bounds
with a coverage value in the range [0.0, 1.0]
indicating how much the glyph covered
that pixel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutlinedGlyph
impl Send for OutlinedGlyph
impl Sync for OutlinedGlyph
impl Unpin for OutlinedGlyph
impl UnwindSafe for OutlinedGlyph
Blanket Implementations
Mutably borrows from an owned value. Read more