MCPcopy Create free account
hub / github.com/Veerzeng/GraphicAlgorithm / AddGlyph

Method AddGlyph

SDK/imgui_master/imgui_draw.cpp:2363–2384  ·  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
BuildFontAtlasMethod · 0.80

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected