Skia
2D Graphics Library
|
Specify a palette to use and overrides for palette entries. More...
#include <SkFontArguments.h>
Classes | |
struct | Override |
Public Attributes | |
int | index |
const Override * | overrides |
int | overrideCount |
Specify a palette to use and overrides for palette entries.
overrides
is a list of pairs of palette entry index and color. The overriden palette entries will use the associated color. Override pairs with palette entry indices out of range will not be applied. Later override entries override earlier ones.
int SkFontArguments::Palette::index |
int SkFontArguments::Palette::overrideCount |
const Override* SkFontArguments::Palette::overrides |