drawTexturePro function

void drawTexturePro(
  1. Texture2D texture,
  2. Rectangle source,
  3. Rectangle dest,
  4. Vector2 origin,
  5. double rotation,
  6. Color tint,
)

Draw a part of a texture defined by a rectangle with 'pro' parameters.

Implementation

void drawTexturePro(
  Texture2D texture,
  Rectangle source,
  Rectangle dest,
  Vector2 origin,
  double rotation,
  Color tint,
) {
  return library.DrawTexturePro(
    texture.ref,
    source.ref,
    dest.ref,
    origin.ref,
    rotation,
    tint.ref,
  );
}