Struct fontdue::OutlineBounds [−][src]
Expand description
Defines the bounds for a glyph’s outline in subpixels. A glyph’s outline is always contained in its bitmap.
Fields
xmin: f32
Subpixel offset of the left-most edge of the glyph’s outline.
ymin: f32
Subpixel offset of the bottom-most edge of the glyph’s outline.
width: f32
The width of the outline in subpixels.
height: f32
The height of the outline in subpixels.
Implementations
Scales the bounding box by the given factor.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OutlineBounds
impl Send for OutlineBounds
impl Sync for OutlineBounds
impl Unpin for OutlineBounds
impl UnwindSafe for OutlineBounds
Blanket Implementations
Mutably borrows from an owned value. Read more