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

Function DrawRect

LibLemon/src/gfx/graphics.cpp:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void DrawRect(rect_t rect, rgba_colour_t colour, surface_t* surface, rect_t mask){
61 DrawRect(rect.pos.x, rect.pos.y, rect.size.x, rect.size.y, colour, surface, mask);
62 }
63
64 void DrawRect(int x, int y, int width, int height, uint8_t r, uint8_t g, uint8_t b, surface_t* surface, rect_t mask){
65 if(x < 0){

Callers 7

DrawCharFunction · 0.70
DrawRectOutlineFunction · 0.70
DrawGradientFunction · 0.70
DrawGradientVerticalFunction · 0.70
PaintMethod · 0.50
PaintMethod · 0.50
DrawButtonBordersMethod · 0.50

Calls 1

memset32_optimizedFunction · 0.85

Tested by

no test coverage detected