DrawTexturePro method
void
DrawTexturePro(
- Texture2DD texture,
- RectangleD source,
- RectangleD dest,
- Vector2D origin,
- num rotation,
- ColorD tint,
Implementation
void DrawTexturePro(
Texture2DD texture,
RectangleD source,
RectangleD dest,
Vector2D origin,
num rotation,
ColorD tint,
) => run(
() => 'DrawTexturePro($texture, $source, $dest, $origin, $rotation, $tint)',
() {
if (identical(source, dest)) throw StateError("You cant blah blah blah");
rl.Core.DrawTexturePro(
rl.Temp.Texture$.Ref1(texture).ref,
rl.Temp.Rectangle$.Ref1(source).ref,
rl.Temp.Rectangle$.Ref2(dest).ref,
rl.Temp.Vector2$.Ref1(origin).ref,
rotation.toDouble(),
rl.Temp.Color$.Ref1(tint).ref,
);
},
);