MCPcopy Create free account
hub / github.com/RIPmr/MoonEngine / AddGlyph

Method AddGlyph

ToyBox/imgui/imgui_draw.cpp:2786–2808  ·  view source on GitHub ↗

x0/y0/x1/y1 are offset from the character upper-left layout position, in pixels. Therefore x0/y0 are often fairly close to zero. Not to be mistaken with texture coordinates, which are held by u0/v0/u1/v1 in normalized format (0.0..1.0 on each texture axis).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ImFontAtlasBuildFinishFunction · 0.80

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected