Module glyph_brush_layout::ab_glyph
source · Expand description
Re-exported ab_glyph types.
Modules
Structs
Font
implementor that wraps another concreteFont + 'static
type storing in anArc
.- Font data handle stored as a
&[u8]
+ parsed data. SeeFont
for more methods. - Font data handle stored in a
Vec<u8>
+ parsed data. SeeFont
for more methods. - A glyph with pixel scale & position.
- Glyph id.
- GlyphImageDeprecatedOld version of
v2::GlyphImage
. - Invalid font data error.
- A “raw” collection of outline curves for a glyph, unscaled & unpositioned.
- A glyph that has been outlined at a scale & position.
- An (x, y) coordinate.
- Pixel scale.
- 2D scale factors for use with unscaled metrics.
- A
Font
and an associated pixel scale. - A rectangle, with top-left corner at
min
, and bottom-right corner atmax
.
Enums
- Valid formats for a
GlyphImage
. - Glyph outline primitives.
Traits
- Functionality required from font data.
- A
Font
with an associated pixel scale. This can be used to provide pixel scale values for glyph advances, heights etc. - Logic for variable fonts.
Functions
Point
constructor.