- [NEW] view(x,y,w,h) Creates a clipped viewport that also translates origin.

-[NEW] view() Resets the viewport to all the window.
This commit is contained in:
2023-07-04 23:03:19 +02:00
parent 0a92e29aa3
commit 584b65041c
4 changed files with 36 additions and 2 deletions

2
mini.h
View File

@@ -168,6 +168,8 @@ 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 view(int x, int y, int w, int h);
void view();
void circ(int x, int y, uint8_t r = 4);
void circ(int x, int y, uint8_t r, uint8_t color);