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

Function Draw

include/Image.hpp:655–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653 // TODO: Add ImageDrawTriangle()
654
655 void Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint = {255, 255, 255, 255}) {
656 ::ImageDraw(this, src, srcRec, dstRec, tint);
657 }
658
659 void DrawText(const char* text, ::Vector2 position, int fontSize, ::Color color = {255, 255, 255, 255}) {
660 ::ImageDrawText(this, text, static_cast<int>(position.x), static_cast<int>(position.y), fontSize, color);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected