Struct gfx_glyph::ab_glyph::OutlinedGlyph
pub struct OutlinedGlyph { /* private fields */ }
Expand description
A glyph that has been outlined at a scale & position.
Implementations§
§impl OutlinedGlyph
impl OutlinedGlyph
pub fn new(
glyph: Glyph,
outline: Outline,
scale_factor: PxScaleFactor
) -> OutlinedGlyph
pub fn new( glyph: Glyph, outline: Outline, scale_factor: PxScaleFactor ) -> OutlinedGlyph
Constructs an OutlinedGlyph
from the source Glyph
, pixel bounds
& relatively positioned outline curves.
Trait Implementations§
§impl AsRef<Glyph> for OutlinedGlyph
impl AsRef<Glyph> for OutlinedGlyph
§impl Clone for OutlinedGlyph
impl Clone for OutlinedGlyph
§fn clone(&self) -> OutlinedGlyph
fn clone(&self) -> OutlinedGlyph
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more