ImFontGlyphRangesBuilder

imguicpp.ImFontGlyphRangesBuilder (extern class)

Static Members

clear(self: cpp.Star): Void
Name Type
self cpp.Star

getBit(self: cpp.Star, n: cpp.SizeT): Bool

Get bit n in the array

Name Type
self cpp.Star
n cpp.SizeT
Returns
Bool

setBit(self: cpp.Star, n: cpp.SizeT): Void

Set bit n in the array

Name Type
self cpp.Star
n cpp.SizeT

addChar(self: cpp.Star, c: cpp.UInt16): Void

Add character

Name Type
self cpp.Star
c cpp.UInt16

addText(self: cpp.Star, text: cpp.ConstCharStar, ?textEnd: cpp.ConstCharStar = null): Void

Add string (each character of the UTF-8 string are added)

Name Type Default
self cpp.Star
text cpp.ConstCharStar
textEnd cpp.ConstCharStar null

addRanges(self: cpp.Star, ranges: cpp.Star): Void

Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext

Name Type
self cpp.Star
ranges cpp.Star

buildRanges(self: cpp.Star, outRanges: cpp.Star): Void

Output new ranges (ImVector_Construct()/ImVector_Destruct() can be used to safely construct out_ranges)

Name Type
self cpp.Star
outRanges cpp.Star

Instance Members

usedChars: ImVector_ImU32

Store 1-bit per Unicode code point (0=unused, 1=used)

Metadata

Name Parameters
:structAccess -
:include "linc_imgui.h"