struct ImGui::ImFontGlyphRangesBuilder


struct ImFontGlyphRangesBuilder

Included Modules

Defined in:


Instance Method Summary

Instance methods inherited from module ImGui::StructType

to_unsafe to_unsafe

Constructor Detail

def : LibImGui::ImVectorInternal) #

[View source]
def : ImFontGlyphRangesBuilder #

[View source]

Instance Method Detail

def add_char(c : ImWchar) : Void #

[View source]
def add_ranges(ranges : Pointer(ImWchar)) : Void #

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


[View source]
def add_text(text : Bytes | String) : Void #

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


[View source]
def build_ranges : ImVector #

[View source]
def clear : Void #

[View source]
def get_bit(n : LibC::SizeT) : Bool #

Get bit n in the array


[View source]
def set_bit(n : LibC::SizeT) : Void #

Set bit n in the array


[View source]
def used_chars : ImVector(UInt32) #

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

[View source]
def used_chars=(used_chars : LibImGui::ImVectorInternal) #

[View source]
def used_chars=(used_chars : ImVector(UInt32)) #

[View source]