public final class ImFontGlyph extends ImGuiStructDestroyable
ptr
Constructor and Description |
---|
ImFontGlyph() |
ImFontGlyph(long ptr) |
Modifier and Type | Method and Description |
---|---|
protected long |
create() |
float |
getAdvanceX()
Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
|
int |
getCodepoint()
0x0000..0xFFFF
|
int |
getColored()
Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops).
|
float |
getU0()
Texture coordinates
|
float |
getU1()
Texture coordinates
|
float |
getV0()
Texture coordinates
|
float |
getV1()
Texture coordinates
|
int |
getVisible()
Flag to indicate glyph has no visible pixels (e.g.
|
float |
getX0()
Glyph corners
|
float |
getX1()
Glyph corners
|
float |
getY0()
Glyph corners
|
float |
getY1()
Glyph corners
|
void |
setAdvanceX(float value)
Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
|
void |
setCodepoint(int value)
0x0000..0xFFFF
|
void |
setColored(int value)
Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops).
|
void |
setU0(float value)
Texture coordinates
|
void |
setU1(float value)
Texture coordinates
|
void |
setV0(float value)
Texture coordinates
|
void |
setV1(float value)
Texture coordinates
|
void |
setVisible(int value)
Flag to indicate glyph has no visible pixels (e.g.
|
void |
setX0(float value)
Glyph corners
|
void |
setX1(float value)
Glyph corners
|
void |
setY0(float value)
Glyph corners
|
void |
setY1(float value)
Glyph corners
|
destroy
isNotValidPtr, isValidPtr
protected long create()
create
in class ImGuiStructDestroyable
public int getColored()
public void setColored(int value)
public int getVisible()
public void setVisible(int value)
public int getCodepoint()
public void setCodepoint(int value)
public float getAdvanceX()
public void setAdvanceX(float value)
public float getX0()
public void setX0(float value)
public float getY0()
public void setY0(float value)
public float getX1()
public void setX1(float value)
public float getY1()
public void setY1(float value)
public float getU0()
public void setU0(float value)
public float getV0()
public void setV0(float value)
public float getU1()
public void setU1(float value)
public float getV1()
public void setV1(float value)