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

Method Draw

include/Rectangle.hpp:43–45  ·  view source on GitHub ↗

* Draw a color-filled rectangle */

Source from the content-addressed store, hash-verified

41 * Draw a color-filled rectangle
42 */
43 static void Draw(int posX, int posY, int width, int height, ::Color color) {
44 ::DrawRectangle(posX, posY, width, height, color);
45 }
46
47 static void Draw(::Vector2 position, ::Vector2 size, ::Color color) {
48 ::DrawRectangleV(position, size, color);

Callers

nothing calls this directly

Calls 1

DrawRectangleFunction · 0.70

Tested by

no test coverage detected