Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/tgfx
/ getAdvance
Method
getAdvance
src/layers/TextLayer.cpp:64–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
}
63
64
float getAdvance(const size_t index) const {
65
return _glyphInfosAndAdvance[index].second;
66
}
67
68
float getLineWidth() const {
69
float lineWidth = 0.0f;
Callers
2
calcAdvance
Method · 0.45
resolveTextAlignment
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected