UI module

set_scale

procedure · 1 overloadsince 0.31.0Source

Set the device scale; glyphs rasterized at another scale stay in the cache under their own size.

set_scale :: (text: *Text_System, scale: float)

Set the device scale; glyphs rasterized at another scale stay in the cache under their own size.

Parameters

text: *Text_System
the text system to change.
scale: float
device pixels per point. Values under 0.25 are raised to 0.25.

See also