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

Method DrawGradientH

include/Rectangle.hpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void DrawGradientH(::Color color1, ::Color color2) const {
68 ::DrawRectangleGradientH(
69 static_cast<int>(x),
70 static_cast<int>(y),
71 static_cast<int>(width),
72 static_cast<int>(height),
73 color1,
74 color2);
75 }
76
77 void DrawGradient(::Color topLeft, ::Color bottomLeft, ::Color bottomRight, ::Color topRight) const {
78 ::DrawRectangleGradientEx(*this, topLeft, bottomLeft, bottomRight, topRight);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected