MCPcopy 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
221float getTextHeight( float fontSize, int lineCount = 1 )
222{
223 return fontSize * ( lineCount * lineSpacingScale - ( lineSpacingScale - 1.f ) );
224}
225
226}
227

Callers 2

addTextMethod · 0.85
drawTextInRectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected