struct

ImGui::ImFontAtlas

Inherits ImGui::ClassType < Struct < Value < Object

Constructors

Instance methods

add_custom_rect_font_glyph(font : ImFont, id : ImWchar, width : Int32, height : Int32, advance_x : Float32, offset : ImVec2 = ImVec2.new(0, 0)) : Int32
Source
add_custom_rect_regular(width : Int32, height : Int32) : Int32
Source
add_font(font_cfg : ImFontConfig) : ImFont
Source
add_font_default(font_cfg : ImFontConfig | Nil = nil) : ImFont
Source
add_font_from_file_ttf(filename : String, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
Source
add_font_from_memory_compressed_base85_ttf(compressed_font_data_base85 : String, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
Source
add_font_from_memory_compressed_ttf(compressed_font_data : Pointer(Void), compressed_font_data_size : Int32, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
Source
add_font_from_memory_ttf(font_data : Pointer(Void), font_data_size : Int32, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
Source
build
Source
calc_custom_rect_uv(rect : ImFontAtlasCustomRect) : Tuple(ImGui::ImVec2, ImGui::ImVec2)
Source
clear
Source
clear_fonts
Source
clear_input_data
Source
clear_tex_data
Source
config_data
Source
config_data=(config_data : ImVector(LibImGui::ImFontConfig))
Source
custom_rects
Source
custom_rects=(custom_rects : ImVector(LibImGui::ImFontAtlasCustomRect))
Source
flags
Source
flags=(flags : ImFontAtlasFlags)
Source
font_builder_flags
Source
font_builder_flags=(font_builder_flags : UInt32)
Source
font_builder_io
Source
font_builder_io=(font_builder_io : ImFontBuilderIO | Nil)
Source
fonts
Source
fonts=(fonts : ImVector(ImFont))
Source
get_custom_rect_by_index(index : Int32) : ImFontAtlasCustomRect
Source
get_glyph_ranges_chinese_full
Source
get_glyph_ranges_chinese_simplified_common
Source
get_glyph_ranges_cyrillic
Source
get_glyph_ranges_default
Source
get_glyph_ranges_greek
Source
get_glyph_ranges_japanese
Source
get_glyph_ranges_korean
Source
get_glyph_ranges_thai
Source
get_glyph_ranges_vietnamese
Source
get_mouse_cursor_tex_data(cursor : ImGuiMouseCursor) : Tuple(Bool, ImGui::ImVec2, ImGui::ImVec2, Slice(ImGui::ImVec2), Slice(ImGui::ImVec2))
Source
get_tex_data_as_alpha8
Source
get_tex_data_as_rgba32
Source
is_built
Source
locked
Source
locked=(locked : Bool)
Source
pack_id_lines
Source
pack_id_lines=(pack_id_lines : Int32)
Source
pack_id_mouse_cursors
Source
pack_id_mouse_cursors=(pack_id_mouse_cursors : Int32)
Source
set_tex_id(id : ImTextureID) : Void
Source
tex_desired_width
Source
tex_desired_width=(tex_desired_width : Int32)
Source
tex_glyph_padding
Source
tex_glyph_padding=(tex_glyph_padding : Int32)
Source
tex_height
Source
tex_height=(tex_height : Int32)
Source
tex_id
Source
tex_id=(tex_id : ImTextureID)
Source
tex_pixels_alpha8
Source
tex_pixels_alpha8=(tex_pixels_alpha8 : Pointer(LibC::UChar))
Source
tex_pixels_rgba32
Source
tex_pixels_rgba32=(tex_pixels_rgba32 : Pointer(UInt32))
Source
tex_pixels_use_colors
Source
tex_pixels_use_colors=(tex_pixels_use_colors : Bool)
Source
tex_ready
Source
tex_ready=(tex_ready : Bool)
Source
tex_uv_lines
Source
tex_uv_lines=(tex_uv_lines : Slice(ImVec4))
Source
tex_uv_scale
Source
tex_uv_scale=(tex_uv_scale : ImVec2)
Source
tex_uv_white_pixel
Source
tex_uv_white_pixel=(tex_uv_white_pixel : ImVec2)
Source
tex_width
Source
tex_width=(tex_width : Int32)
Source
to_unsafe
Source
user_data
Source
user_data=(user_data : Pointer(Void))
Source