struct ImGui::ImFontAtlas
 
  - ImGui::ImFontAtlas
 - Struct
 - Value
 - Object
 
Included Modules
- ImGui::ClassType(LibImGui::ImFontAtlas)
 
Defined in:
obj.crConstructors
Instance Method Summary
- #add_custom_rect_font_glyph(font : ImFont, id : ImWchar, width : Int32, height : Int32, advance_x : Float32, offset : ImVec2 = ImVec2.new(0, 0)) : Int32
 - #add_custom_rect_regular(width : Int32, height : Int32) : Int32
 - #add_font(font_cfg : ImFontConfig) : ImFont
 - #add_font_default(font_cfg : ImFontConfig | Nil = nil) : ImFont
 - #add_font_from_file_ttf(filename : String, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
 - #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
 - #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
 - #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
 - #build : Bool
 - #calc_custom_rect_uv(rect : ImFontAtlasCustomRect) : Tuple(ImGui::ImVec2, ImGui::ImVec2)
 - #clear : Void
 - #clear_fonts : Void
 - #clear_input_data : Void
 - #clear_tex_data : Void
 - #config_data : ImVector(LibImGui::ImFontConfig)
 - #config_data=(config_data : ImVector(LibImGui::ImFontConfig))
 - #custom_rects : ImVector(LibImGui::ImFontAtlasCustomRect)
 - #custom_rects=(custom_rects : ImVector(LibImGui::ImFontAtlasCustomRect))
 - #flags : ImFontAtlasFlags
 - #flags=(flags : ImFontAtlasFlags)
 - #font_builder_flags : UInt32
 - #font_builder_flags=(font_builder_flags : UInt32)
 - #font_builder_io : ImFontBuilderIO | Nil
 - #font_builder_io=(font_builder_io : ImFontBuilderIO | Nil)
 - #fonts : ImVector(ImFont)
 - #fonts=(fonts : ImVector(ImFont))
 - #get_custom_rect_by_index(index : Int32) : ImFontAtlasCustomRect
 - #get_glyph_ranges_chinese_full : Pointer(ImWchar)
 - #get_glyph_ranges_chinese_simplified_common : Pointer(ImWchar)
 - #get_glyph_ranges_cyrillic : Pointer(ImWchar)
 - #get_glyph_ranges_default : Pointer(ImWchar)
 - #get_glyph_ranges_greek : Pointer(ImWchar)
 - #get_glyph_ranges_japanese : Pointer(ImWchar)
 - #get_glyph_ranges_korean : Pointer(ImWchar)
 - #get_glyph_ranges_thai : Pointer(ImWchar)
 - #get_glyph_ranges_vietnamese : Pointer(ImWchar)
 - #get_mouse_cursor_tex_data(cursor : ImGuiMouseCursor) : Tuple(Bool, ImGui::ImVec2, ImGui::ImVec2, Slice(ImGui::ImVec2), Slice(ImGui::ImVec2))
 - #get_tex_data_as_alpha8 : Tuple(Pointer(LibC::UChar), LibC::Int, LibC::Int, LibC::Int)
 - #get_tex_data_as_rgba32 : Tuple(Pointer(LibC::UChar), LibC::Int, LibC::Int, LibC::Int)
 - #is_built : Bool
 - #locked : Bool
 - #locked=(locked : Bool)
 - #pack_id_lines : Int32
 - #pack_id_lines=(pack_id_lines : Int32)
 - #pack_id_mouse_cursors : Int32
 - #pack_id_mouse_cursors=(pack_id_mouse_cursors : Int32)
 - #set_tex_id(id : ImTextureID) : Void
 - #tex_desired_width : Int32
 - #tex_desired_width=(tex_desired_width : Int32)
 - #tex_glyph_padding : Int32
 - #tex_glyph_padding=(tex_glyph_padding : Int32)
 - #tex_height : Int32
 - #tex_height=(tex_height : Int32)
 - #tex_id : ImTextureID
 - #tex_id=(tex_id : ImTextureID)
 - #tex_pixels_alpha8 : Pointer(LibC::UChar)
 - #tex_pixels_alpha8=(tex_pixels_alpha8 : Pointer(LibC::UChar))
 - #tex_pixels_rgba32 : Pointer(UInt32)
 - #tex_pixels_rgba32=(tex_pixels_rgba32 : Pointer(UInt32))
 - #tex_pixels_use_colors : Bool
 - #tex_pixels_use_colors=(tex_pixels_use_colors : Bool)
 - #tex_ready : Bool
 - #tex_ready=(tex_ready : Bool)
 - #tex_uv_lines : Slice(ImVec4)
 - #tex_uv_lines=(tex_uv_lines : Slice(ImVec4))
 - #tex_uv_scale : ImVec2
 - #tex_uv_scale=(tex_uv_scale : ImVec2)
 - #tex_uv_white_pixel : ImVec2
 - #tex_uv_white_pixel=(tex_uv_white_pixel : ImVec2)
 - #tex_width : Int32
 - #tex_width=(tex_width : Int32)
 - #to_unsafe : Pointer(T)
 - #user_data : Pointer(Void)
 - #user_data=(user_data : Pointer(Void))
 
Constructor Detail
Instance Method Detail
        
        def add_custom_rect_font_glyph(font : ImFont, id : ImWchar, width : Int32, height : Int32, advance_x : Float32, offset : ImVec2 = ImVec2.new(0, 0)) : Int32
        #
      
      
      
        
        def add_font_from_file_ttf(filename : String, size_pixels : Float32, font_cfg : ImFontConfig | Nil = nil, glyph_ranges : Pointer(ImWchar) = Pointer(ImWchar).null) : ImFont
        #
      
      
      
        
        def 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
        #
      
      
      
        
        def 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
        #
      
      
      
        
        def 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
        #
      
      
      
        
        def get_mouse_cursor_tex_data(cursor : ImGuiMouseCursor) : Tuple(Bool, ImGui::ImVec2, ImGui::ImVec2, Slice(ImGui::ImVec2), Slice(ImGui::ImVec2))
        #
      
      
      
        
        def get_tex_data_as_alpha8 : Tuple(Pointer(LibC::UChar), LibC::Int, LibC::Int, LibC::Int)
        #
      
      
      
        
        def get_tex_data_as_rgba32 : Tuple(Pointer(LibC::UChar), LibC::Int, LibC::Int, LibC::Int)
        #