- [FIX] clip(x,y,w,h) works as expected.

- [NEW] clip() with no arguments resets clipping region.
- [FIX] cls() respects clipping region (but now it's slower)
- [FIX] pset's and pget now respect clipping region correctly
This commit is contained in:
2023-07-04 19:50:13 +02:00
parent 38e209fa76
commit 58f4845746
3 changed files with 30 additions and 14 deletions

1
mini.h
View File

@@ -166,6 +166,7 @@ void print(const char *str, int x, int y);
void print(const char *str, int x, int y, uint8_t color);
void clip(int x, int y, int w, int h);
void clip();
void camera(int x, int y);
void circ(int x, int y, uint8_t r = 4);