MCPcopy Create free account
hub / github.com/coronalabs/corona / UpdateScaledFont

Method UpdateScaledFont

librtt/Display/Rtt_TextObject.cpp:288–328  ·  view source on GitHub ↗

Updates member variable "fScaledFont" with a scaled font size based on "fOriginalFont". Should be called every time the rendering system's scale factor has changed. Member variable "fScaledFont" will be set to NULL if the scale factor is 1.0.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

Rtt_FloatToRealFunction · 0.85
Rtt_RealDivFunction · 0.85
GetSxUprightMethod · 0.80
ResetFunction · 0.50
SizeMethod · 0.45
CloneUsingMethod · 0.45
GetAllocatorMethod · 0.45
GetRuntimeMethod · 0.45
SetSizeMethod · 0.45

Tested by

no test coverage detected