DrawTexturePro method

  1. @override
void DrawTexturePro(
  1. TextureD texture,
  2. RectangleD source,
  3. RectangleD dest,
  4. Vector2D origin,
  5. double rotation,
  6. 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,
);