DrawRectanglePro method
Draw a color-filled rectangle with pro parameters
Implementation
@override
void DrawRectanglePro(
RectangleD rec,
Vector2D origin,
double rotation,
ColorD color,
) => _ffi.DrawRectanglePro(
$.Rectangle$.Ref1(rec).asNativePointer<RectangleC>().ref,
$.Vector2$.Ref1(origin).asNativePointer<Vector2C>().ref,
rotation,
$.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);