struct ImGui::ImFontGlyphRangesBuilder
- ImGui::ImFontGlyphRangesBuilder
- Struct
- Value
- Object
Overview
struct ImFontGlyphRangesBuilder
Included Modules
- ImGui::StructType
Defined in:
obj.crtypes.cr
Constructors
Instance Method Summary
- 
        #add_char(c : ImWchar) : Void
        
          Add character 
- 
        #add_ranges(ranges : Pointer(ImWchar)) : Void
        
          Add ranges, e.g. 
- 
        #add_text(text : Bytes | String) : Void
        
          Add string (each character of the UTF-8 string are added) 
- 
        #build_ranges : ImVector
        
          Output new ranges 
- #clear : Void
- 
        #get_bit(n : LibC::SizeT) : Bool
        
          Get bit n in the array 
- 
        #set_bit(n : LibC::SizeT) : Void
        
          Set bit n in the array 
- 
        #used_chars : ImVector(UInt32)
        
          Store 1-bit per Unicode code point (0=unused, 1=used) 
- #used_chars=(used_chars : LibImGui::ImVectorInternal)
- #used_chars=(used_chars : ImVector(UInt32))
Instance methods inherited from module ImGui::StructType
  
  
    
      to_unsafe
    to_unsafe
    
  
    
    
  
    
    
    
  
    
    
    
  
    
    
    
  
Constructor Detail
        
        def self.new : ImFontGlyphRangesBuilder
        #
      
      
        
      
      Instance Method Detail
Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext
        
        def add_text(text : Bytes | String) : Void
        #
      
      
        Add string (each character of the UTF-8 string are added)
Output new ranges
Store 1-bit per Unicode code point (0=unused, 1=used)