Flutter Engine
The Flutter Engine
|
#include <SkFontArguments.h>
Classes | |
struct | Palette |
struct | VariationPosition |
Public Member Functions | |
SkFontArguments () | |
SkFontArguments & | setCollectionIndex (int collectionIndex) |
SkFontArguments & | setVariationDesignPosition (VariationPosition position) |
int | getCollectionIndex () const |
VariationPosition | getVariationDesignPosition () const |
SkFontArguments & | setPalette (Palette palette) |
Palette | getPalette () const |
Represents a set of actual arguments for a font.
Definition at line 16 of file SkFontArguments.h.
|
inline |
Definition at line 43 of file SkFontArguments.h.
|
inline |
Definition at line 71 of file SkFontArguments.h.
|
inline |
Definition at line 86 of file SkFontArguments.h.
|
inline |
Definition at line 75 of file SkFontArguments.h.
|
inline |
Specify the index of the desired font.
Font formats like ttc, dfont, cff, cid, pfr, t42, t1, and fon may actually be indexed collections of fonts.
Definition at line 53 of file SkFontArguments.h.
|
inline |
Definition at line 79 of file SkFontArguments.h.
|
inline |
Specify a position in the variation design space.
Any axis not specified will use the default value. Any specified axis not actually present in the font will be ignored.
position | not copied. The value must remain valid for life of SkFontArguments. |
Definition at line 65 of file SkFontArguments.h.