- swapcol(), color(), hline(), vline(), rect(), fillrect()

This commit is contained in:
2023-06-06 09:17:45 +02:00
parent 5cf871caed
commit 7459390b0f
2 changed files with 47 additions and 4 deletions

View File

@@ -73,6 +73,13 @@ namespace draw
/// @param flip si s'ha de fer flip en hortizontal o vertical (o ambdos)
void draw(const int dx, const int dy, const int w, const int h, const int sx, const int sy, const int flip = DRAW_FLIP_NONE);
void swapcol(const Uint8 c1, const Uint8 c2);
void color(const Uint8 col);
void hline(const int x, const int y, const int w);
void vline(const int x, const int y, const int h);
void fillrect(const int x, const int y, const int w, const int h);
void rect(const int x, const int y, const int w, const int h);
/// @brief Refresca la pantalla
void render();
}