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(
_refTexture1(texture).ref,
_refRectangle1(source).ref,
_refRectangle2(dest).ref,
_refVector21(origin).ref,
rotation.toDouble(),
_refColor1(tint).ref,
);
},
);