Lines Matching refs:codepoint

1758     int                 GlyphsHighest;      // Highest requested codepoint
1760 ImBoolVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB)
1837 // 2. For every requested codepoint, check for their presence in the font data, and handle redundancy or overlaps between source fonts to avoid unused glyphs.
1849 for (int codepoint = src_range[0]; codepoint <= src_range[1]; codepoint++)
1851 if (cfg.MergeMode && dst_tmp.GlyphsSet.GetBit(codepoint)) // Don't overwrite existing glyphs. We could make this an option (e.g. MergeOverwrite)
1853 if (!stbtt_FindGlyphIndex(&src_tmp.FontInfo, codepoint)) // It is actually in the font?
1859 src_tmp.GlyphsSet.SetBit(codepoint, true);
1861 dst_tmp.GlyphsSet.SetBit(codepoint, true);
2018 const int codepoint = src_tmp.GlyphsList[glyph_i];
2031 dst_font->AddGlyph((ImWchar)codepoint, q.x0 + char_off_x, q.y0 + font_off_y, q.x1 + char_off_x, q.y1 + font_off_y, q.s0, q.t0, q.s1, q.t1, char_advance_x_mod);
2207 // (Stored as accumulative offsets from the initial unicode codepoint 0x4E00. This encoding is designed to helps us compact the source code size.)
2274 // (Stored as accumulative offsets from the initial unicode codepoint 0x4E00. This encoding is designed to helps us compact the source code size.)
2441 int codepoint = (int)Glyphs[i].Codepoint;
2442 IndexAdvanceX[codepoint] = Glyphs[i].AdvanceX;
2443 IndexLookup[codepoint] = (ImWchar)i;
2484 void ImFont::AddGlyph(ImWchar codepoint, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advance_x)
2488 glyph.Codepoint = (ImWchar)codepoint;