Skia
2D Graphics Library
SkFontArguments::Palette Struct Reference

Specify a palette to use and overrides for palette entries. More...

#include <SkFontArguments.h>

Classes

struct  Override
 

Public Attributes

int index
 
const Overrideoverrides
 
int overrideCount
 

Detailed Description

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.

Member Data Documentation

◆ index

int SkFontArguments::Palette::index

◆ overrideCount

int SkFontArguments::Palette::overrideCount

◆ overrides

const Override* SkFontArguments::Palette::overrides

The documentation for this struct was generated from the following file: