| 642 | } |
| 643 | |
| 644 | void DrawRectangleLines(::Rectangle rec, int thick = 1, ::Color color = {255, 255, 255, 255}) { |
| 645 | // raylib 6.1 changes ImageDrawRectangleLines(). |
| 646 | #if RAYLIB_VERSION_MAJOR == 6 && RAYLIB_VERSION_MINOR == 0 |
| 647 | ::ImageDrawRectangleLines(this, rec, thick, color); |
| 648 | #else |
| 649 | ::ImageDrawRectangleLinesEx(this, rec, thick, color); |
| 650 | #endif |
| 651 | } |
| 652 | |
| 653 | // TODO: Add ImageDrawTriangle() |
| 654 |