MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ProcessText

Function ProcessText

Source/Engine/Render2D/Font.h:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 /// <param name="layout">The layout properties.</param>
354 /// <returns>The output lines list.</returns>
355 API_FUNCTION() Array<FontLineCache, InlinedAllocation<8>> ProcessText(const StringView& text, API_PARAM(Ref) const TextLayoutOptions& layout)
356 {
357 Array<FontLineCache, InlinedAllocation<8>> lines;
358 ProcessText(text, lines, layout);
359 return lines;
360 }
361
362 /// <summary>
363 /// Processes text to get cached lines for rendering.

Callers 3

MeasureTextMethod · 0.85
HitTestTextMethod · 0.85
GetCharPositionMethod · 0.85

Calls 2

SubstringMethod · 0.80
TextLayoutOptionsClass · 0.70

Tested by

no test coverage detected