DrawTexturePro method
void
DrawTexturePro()
override
Draw a part of a texture defined by a rectangle with 'pro' parameters
Implementation
@override
void DrawTexturePro(
Texture texture,
Rectangle source,
Rectangle dest,
Vector2 origin,
double rotation,
Color tint,
) => _ffi.DrawTexturePro(
Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
Rectangle$.Ref1(source).asNativePointer<RectangleC>().ref,
Rectangle$.Ref2(dest).asNativePointer<RectangleC>().ref,
Vector2$.Ref1(origin).asNativePointer<Vector2C>().ref,
rotation,
Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);