Searched refs:glyph_index (Results 1 – 1 of 1) sorted by relevance
736 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index);1185 static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) in stbtt__GetGlyfOffset() argument1189 if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range in stbtt__GetGlyfOffset()1193 g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; in stbtt__GetGlyfOffset()1196 g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); in stbtt__GetGlyfOffset()1197 g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); in stbtt__GetGlyfOffset()1205 int g = stbtt__GetGlyfOffset(info, glyph_index); in stbtt_GetGlyphBox()1220 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) in stbtt_IsGlyphEmpty() argument1223 int g = stbtt__GetGlyfOffset(info, glyph_index); in stbtt_IsGlyphEmpty()1252 int g = stbtt__GetGlyfOffset(info, glyph_index); in stbtt_GetGlyphShape()[all …]