DrawRectanglePro function

void DrawRectanglePro(
  1. Rectangle rec,
  2. Vector2 origin,
  3. double rotation,
  4. Color color,
)

Implementation

void DrawRectanglePro(
  Rectangle rec,
  Vector2 origin,
  double rotation,
  Color color,
) => ffi.using(
  (arena) => raylib.DrawRectanglePro(
    rec.ptr.ref,
    arena.vector2(origin).ref,
    rotation,
    color.ptr.ref,
  ),
);