DrawTexturePro method
void
DrawTexturePro(
- TextureD texture,
- RectangleD source,
- RectangleD dest,
- Vector2D origin,
- double rotation,
- ColorD tint,
override
Draw a part of a texture defined by a rectangle with 'pro' parameters
Implementation
@override
void DrawTexturePro(
TextureD texture,
RectangleD source,
RectangleD dest,
Vector2D origin,
double rotation,
ColorD 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,
);