- [CHG] draw.rect i draw.rectFill ara pillen (x,y,w,h), com les persones normals, no (x1,y1,x2,y2) com el subnormal de pico-8

This commit is contained in:
2025-02-19 13:34:55 +01:00
parent ecb493f9c8
commit 2f0817d20c
3 changed files with 29 additions and 25 deletions

8
mini.h
View File

@@ -156,11 +156,11 @@ void hline(int x0, int y, int x1, uint8_t color);
void vline(int x, int y0, int y1);
void vline(int x, int y0, int y1, uint8_t color);
void rect(int x0, int y0, int x1, int y1);
void rect(int x0, int y0, int x1, int y1, uint8_t color);
void rect(int x, int y, int w, int h);
void rect(int x, int y, int w, int h, uint8_t color);
void rectfill(int x0, int y0, int x1, int y1);
void rectfill(int x0, int y0, int x1, int y1, uint8_t color);
void rectfill(int x, int y, int w, int h);
void rectfill(int x, int y, int w, int h, uint8_t color);
void fillp(uint16_t pat, bool transparent = false);