DrawTextPro method
void
DrawTextPro(
- FontD font,
- MemoryPointer<
RChar> text, - Vector2D position,
- Vector2D origin,
- double rotation,
- double fontSize,
- double spacing,
- ColorD tint,
override
Draw text using Font and pro parameters (rotation)
Implementation
@override
void DrawTextPro(
FontD font,
MemoryPointer<RChar> text,
Vector2D position,
Vector2D origin,
double rotation,
double fontSize,
double spacing,
ColorD tint,
) => _ffi.DrawTextPro(
$.Font$.Ref1(font).asNativePointer<FontC>().ref,
text.asNativePointer(),
$.Vector2$.Ref1(position).asNativePointer<Vector2C>().ref,
$.Vector2$.Ref2(origin).asNativePointer<Vector2C>().ref,
rotation,
fontSize,
spacing,
$.Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);