2D Vector Graphics Engine
Font [C++ API].
Tests whether the font is a built-in null instance.
Tests whether the font is empty (which the same as
isNone() in this case).
Returns the type of the font's associated font-face, see
Returns the flags of the font, see
Returns the size of the font (as float).
Returns the "units per em" (UPEM) of the font's associated font-face.
Returns the font's associated font-face.
Returns the same font-face, which was passed to
Returns the features associated with the font.
Returns the variations associated with the font.
Returns the weight of the font.
Returns the stretch of the font.
Returns the style of the font.
Returns a 2x2 matrix of the font.
BLFontMatrix is used to scale fonts from design units into user units. The matrix usually has a negative
m11 member as fonts use a different coordinate system than Blend2D.
Returns the scaled metrics of the font.
The returned metrics is a scale of design metrics that match the font size and its options.
Returns the design metrics of the font.
The returned metrics is compatible with the metrics of
BLFontFace associated with this font.