LuaSTG-x Core API
imgui::ImFont Class Reference

Public Member Functions

function findGlyph (local c)
 
function findGlyphNoFallback (local c)
 
function getCharAdvance (local c)
 
function getDebugName ()
 
function isLoaded ()
 
function mergeGlyphs (local font, local start, local end_)
 imgui.ImFont More...
 

Member Function Documentation

◆ findGlyph()

function findGlyph ( local  c)
Parameters
cnumber
Returns
imgui.ImFontGlyph

◆ findGlyphNoFallback()

function findGlyphNoFallback ( local  c)
Parameters
cnumber
Returns
imgui.ImFontGlyph

◆ getCharAdvance()

function getCharAdvance ( local  c)
Parameters
cnumber
Returns
number

◆ getDebugName()

function getDebugName ( )

'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable.

Returns
string

◆ isLoaded()

function isLoaded ( )
Returns
boolean

◆ mergeGlyphs()

function mergeGlyphs ( local  font,
local  start,
local  end_ 
)

imgui.ImFont

Parameters
fontimgui.ImFont
startnumber
end_number
Returns
imgui.ImFont

The documentation for this class was generated from the following files: