struct ImGui::ImFontAtlasCustomRect

Overview

struct ImFontAtlasCustomRect

Included Modules

Defined in:

obj.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new : ImFontAtlasCustomRect #

[View source]

Instance Method Detail

def font : ImFont #

Input For custom font glyphs only: target font


[View source]
def font=(font : ImFont) #

[View source]
def glyph_advance_x : Float32 #

Input For custom font glyphs only: glyph xadvance


[View source]
def glyph_advance_x=(glyph_advance_x : Float32) #

[View source]
def glyph_id : UInt32 #

Input For custom font glyphs only (ID < 0x110000)


[View source]
def glyph_id=(glyph_id : UInt32) #

[View source]
def glyph_offset : ImVec2 #

Input For custom font glyphs only: glyph display offset


[View source]
def glyph_offset=(glyph_offset : ImVec2) #

[View source]
def height : UInt16 #

Input Desired rectangle dimension


[View source]
def height=(height : UInt16) #

[View source]
def is_packed : Bool #

[View source]
def to_unsafe : Pointer(T) #

[View source]
def width : UInt16 #

Input Desired rectangle dimension


[View source]
def width=(width : UInt16) #

[View source]
def x : UInt16 #

Output Packed position in Atlas


[View source]
def x=(x : UInt16) #

[View source]
def y : UInt16 #

Output Packed position in Atlas


[View source]
def y=(y : UInt16) #

[View source]