MeasureTextCodepoints method
dynamic
MeasureTextCodepoints(
- dynamic font,
- MemoryPointer<
RInt> codepoints, - int length,
- double fontSize,
- double spacing,
override
Measure string size for an existing array of codepoints for Font
Implementation
@override
Vector2D MeasureTextCodepoints(
FontD font,
MemoryPointer<RInt> codepoints,
int length,
double fontSize,
double spacing,
) => $.Vector2$.Extract1(
(p) => _ffi.MeasureTextCodepoints(
$.Font$.Ref1(font).asNativePointer<FontC>().ref,
codepoints.asNativePointer(),
length,
fontSize,
spacing,
).toDart(p.asNativePointer()),
);