summaryrefslogtreecommitdiff
path: root/rect.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-06-02 21:46:07 +1000
committerquou <quou@disroot.org>2024-06-02 21:47:26 +1000
commit62b4a3ededd237f4b4850d91c052585e2f687499 (patch)
tree25bf590a634c6c71f399cf9b1d620500f06b8b9f /rect.h
parent2e761bdb8badecdbda2925a056a6d5aa3e3cac83 (diff)
Switched to luigi, parsing out FLAC metadata.
Diffstat (limited to 'rect.h')
-rw-r--r--rect.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/rect.h b/rect.h
deleted file mode 100644
index 4d6a88f..0000000
--- a/rect.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef rect_h
-#define rect_h
-
-typedef struct {
- int x, y, w, h;
-} Rectangle;
-
-Rectangle make_rect(int x, int y, int w, int h);
-
-int rects_overlap(const Rectangle* a, const Rectangle* b);
-int rects_overlap2(
- int x0,
- int y0,
- int w0,
- int h0,
- int x1,
- int y1,
- int w1,
- int h1
-);
-int point_rect_overlap(
- const Rectangle* r,
- int px,
- int py
-);
-int point_rect_overlap2(
- int x,
- int y,
- int w,
- int h,
- int px,
- int py
-);
-Rectangle rect_intersect(
- const Rectangle* a,
- const Rectangle* b
-);
-Rectangle* rect_merge(
- Rectangle* d,
- const Rectangle* r
-);
-
-#endif