8 #ifndef SkFontArguments_DEFINED
9 #define SkFontArguments_DEFINED
45 , fVariationDesignPosition{nullptr, 0}
46 , fPalette{0, nullptr, 0} {}
54 fCollectionIndex = collectionIndex;
72 return fCollectionIndex;
76 return fVariationDesignPosition;
90 VariationPosition fVariationDesignPosition;
Types, consts, functions, and macros for colors.
uint32_t SkColor
32-bit ARGB color value, unpremultiplied.
Definition: SkColor.h:37
uint32_t SkFourByteTag
Definition: SkTypes.h:158
Definition: SkFontArguments.h:34
int index
Definition: SkFontArguments.h:35
SkColor color
Definition: SkFontArguments.h:36
Specify a palette to use and overrides for palette entries.
Definition: SkFontArguments.h:33
int index
Definition: SkFontArguments.h:38
const Override * overrides
Definition: SkFontArguments.h:39
int overrideCount
Definition: SkFontArguments.h:40
Definition: SkFontArguments.h:18
float value
Definition: SkFontArguments.h:20
SkFourByteTag axis
Definition: SkFontArguments.h:19
Definition: SkFontArguments.h:17
const Coordinate * coordinates
Definition: SkFontArguments.h:22
int coordinateCount
Definition: SkFontArguments.h:23
Represents a set of actual arguments for a font.
Definition: SkFontArguments.h:16
SkFontArguments()
Definition: SkFontArguments.h:43
VariationPosition getVariationDesignPosition() const
Definition: SkFontArguments.h:75
SkFontArguments & setPalette(Palette palette)
Definition: SkFontArguments.h:79
Palette getPalette() const
Definition: SkFontArguments.h:86
int getCollectionIndex() const
Definition: SkFontArguments.h:71
SkFontArguments & setVariationDesignPosition(VariationPosition position)
Specify a position in the variation design space.
Definition: SkFontArguments.h:65
SkFontArguments & setCollectionIndex(int collectionIndex)
Specify the index of the desired font.
Definition: SkFontArguments.h:53