3#ifndef SkPDFGlyphUse_DEFINED
4#define SkPDFGlyphUse_DEFINED
27 if (fFirstNonZero == 1) {
30 uint16_t
offset = fFirstNonZero - 1;
40 if (gid == 0 || fFirstNonZero == 1) {
43 SkASSERT(gid >= fFirstNonZero && gid <= fLastGlyph);
44 return gid - fFirstNonZero + 1;
bool test(size_t index) const
void forEachSetIndex(FN f) const
SkPDFGlyphUse(SkPDFGlyphUse &&)=default
SkGlyphID lastGlyph() const
SkPDFGlyphUse(SkGlyphID firstNonZero, SkGlyphID lastGlyph)
SkPDFGlyphUse & operator=(SkPDFGlyphUse &&)=default
SkGlyphID firstNonZero() const
bool has(SkGlyphID gid) const
void getSetValues(FN f) const