Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MeshInspector/MeshLib
/ getTextHeight
Function
getTextHeight
source/MRIOExtras/MRPdf.cpp:221–224 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
219
220
221
float getTextHeight( float fontSize, int lineCount = 1 )
222
{
223
return fontSize * ( lineCount * lineSpacingScale - ( lineSpacingScale - 1.f ) );
224
}
225
226
}
227
Callers
2
addText
Method · 0.85
drawTextInRect
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected