Module glyf

Source
Expand description

Scaling support for TrueType outlines.

Re-exportsยง

pub use hint::HintError;
pub use hint::HintInstance;
pub use hint::HintOutline;
pub use outline::Outline;
pub use outline::ScaledOutline;

Modulesยง

deltas ๐Ÿ”’
hint ๐Ÿ”’
TrueType hinting.
memory ๐Ÿ”’
Memory allocation for TrueType scaling.
outline ๐Ÿ”’
TrueType outline types.

Structsยง

FreeTypeScaler ๐Ÿ”’
F26Dot6 coords, Fixed deltas, and a penchant for rounding
HarfBuzzScaler ๐Ÿ”’
f32 all the things. Hold your rounding. No hinting.
Outlines
Scaler state for TrueType outlines.

Constantsยง

PHANTOM_POINT_COUNT
Number of phantom points generated at the end of an outline.

Traitsยง

Scaler ๐Ÿ”’

Functionsยง

hypot ๐Ÿ”’
Magnitude of the vector (x, y)
map_point ๐Ÿ”’