MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImFontBuildSrcDataFT

Class ImFontBuildSrcDataFT

KBotExt/imgui/imgui_freetype.cpp:378–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376};
377
378struct ImFontBuildSrcDataFT
379{
380 FreeTypeFont Font;
381 stbrp_rect* Rects; // Rectangle to pack. We first fill in their size and the packer will give us their position.
382 const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x0020..0xFFFF)
383 int DstIndex; // Index into atlas->Fonts[] and dst_tmp_array[]
384 int GlyphsHighest; // Highest requested codepoint
385 int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font)
386 ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB)
387 ImVector<ImFontBuildSrcGlyphFT> GlyphsList;
388};
389
390// Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont)
391struct ImFontBuildDstDataFT

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected