MeasureTextEx method
Vector2D
MeasureTextEx(
- FontD font,
- MemoryPointer<
RChar> text, - double fontSize,
- double spacing,
override
Measure string size for Font
Implementation
@override
Vector2D MeasureTextEx(
FontD font,
MemoryPointer<RChar> text,
double fontSize,
double spacing,
) => $.Vector2$.Extract1(
(p) => _ffi.MeasureTextEx(
$.Font$.Ref1(font).asNativePointer<FontC>().ref,
text.asNativePointer(),
fontSize,
spacing,
).toDart(p.asNativePointer()),
);