MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / DrawRectangleLines

Function DrawRectangleLines

include/Image.hpp:644–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

DrawLinesMethod · 0.70
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected