MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / DrawGradientVertical

Function DrawGradientVertical

LibLemon/src/gfx/graphics.cpp:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 void DrawGradientVertical(rect_t rect, rgba_colour_t c1, rgba_colour_t c2, surface_t* surface){
163 DrawGradientVertical(rect.pos.x, rect.pos.y, rect.size.x, rect.size.y, c1, c2, surface);
164 }
165
166 void DrawGradientVertical(int x, int y, int width, int height, rgba_colour_t c1, rgba_colour_t c2, surface_t* surface){
167 if(x < 0){

Callers 3

DrawMethod · 0.85
PaintMethod · 0.85
OnTaskbarPaintFunction · 0.85

Calls 1

DrawRectFunction · 0.70

Tested by

no test coverage detected