summaryrefslogtreecommitdiff
path: root/rect.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-07-27 11:15:21 +1000
committerquou <quou@disroot.org>2024-07-27 11:17:11 +1000
commit951f6115c16c3ab482c19705344295c90af1625b (patch)
treec7b140f8ba9db86955f2352d23fa9808138fad3e /rect.h
parentd2c76fd62fa735f3d4fc3ceb55a75d6f0b2dc758 (diff)
clipping and viewport improvements.
Diffstat (limited to 'rect.h')
-rw-r--r--rect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rect.h b/rect.h
index b055607..74f3084 100644
--- a/rect.h
+++ b/rect.h
@@ -6,6 +6,8 @@ typedef struct {
} Rect;
Rect* rect_clip(Rect* r, const Rect* c);
+Rect* rect_clipr(Rect* r, const int* c);
Rect* rect_clips(Rect* r, Rect* s, const Rect* c);
+Rect* rect_clipsr(Rect* r, Rect* s, const int* c);
#endif