DrawTextPro method
void
DrawTextPro(
- Font font,
- MemoryPointer<
RChar> text, - Vector2 position,
- Vector2 origin,
- double rotation,
- double fontSize,
- double spacing,
- Color tint,
override
Draw text using Font and pro parameters (rotation)
Implementation
@override
void DrawTextPro(
Font font,
MemoryPointer<RChar> text,
Vector2 position,
Vector2 origin,
double rotation,
double fontSize,
double spacing,
Color 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,
);