Home
last modified time | relevance | path

Searched refs:numPalettes (Results 1 – 2 of 2) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-color-cpal-table.hh112 bool has_data () const { return numPalettes; } in has_data()
115 { return min_size + numPalettes * sizeof (colorRecordIndicesZ[0]); } in get_size()
117 unsigned int get_palette_count () const { return numPalettes; } in get_palette_count()
121 { return v1 ().get_palette_flags (this, palette_index, numPalettes); } in get_palette_flags()
124 { return v1 ().get_palette_name_id (this, palette_index, numPalettes); } in get_palette_name_id()
134 if (unlikely (palette_index >= numPalettes)) in get_palette_colors()
168 colorRecordIndicesZ.sanitize (c, numPalettes) && in sanitize()
169 (version == 0 || v1 ().sanitize (c, this, numPalettes, numColors))); in sanitize()
176 HBUINT16 numPalettes; /* Number of palettes in the table. */ member
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_P_A_L_.py27 …self.version, self.numPaletteEntries, numPalettes, numColorRecords, goffsetFirstColorRecord = stru…
31 for i in range(numPalettes):
46 pos = 12 + numPalettes * 2
51 data, offsetToPaletteTypeArray, numPalettes,
54 data, offsetToPaletteLabelArray, numPalettes, default=self.NO_NAME_ID)
161 numPalettes = len(self.palettes)