Flutter Engine
The Flutter Engine
Classes | Public Attributes | List of all members
SkFontArguments::Palette Struct Reference

#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.

Definition at line 33 of file SkFontArguments.h.

Member Data Documentation

◆ index

int SkFontArguments::Palette::index

Definition at line 38 of file SkFontArguments.h.

◆ overrideCount

int SkFontArguments::Palette::overrideCount

Definition at line 40 of file SkFontArguments.h.

◆ overrides

const Override* SkFontArguments::Palette::overrides

Definition at line 39 of file SkFontArguments.h.


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