MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / AddGlyph

Method AddGlyph

CPPScripts/External/ImGui/imgui_draw.cpp:3836–3880  ·  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). 'src' is not necessarily == 'this->Sources' because multiple source fonts+configs can be used to build one target font.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ImFontAtlasBuildFinishFunction · 0.80

Calls 3

ImClampFunction · 0.85
ImTruncFunction · 0.85
resizeMethod · 0.45

Tested by

no test coverage detected