Function computeTextSize
Measure multiline text to find only its size. Caches results from previous calls.
Example
Font font;
dstring txt = "Hello";
auto st = TextLayoutStyle(font);
const Size sz = computeTextSize(txt, st);
Measure multiline text to find only its size. Caches results from previous calls.
Font font;
dstring txt = "Hello";
auto st = TextLayoutStyle(font);
const Size sz = computeTextSize(txt, st);