aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index e40a11a..76c87c0 100644
--- a/src/util.h
+++ b/src/util.h
@@ -85,6 +85,10 @@ void strfree(char **list);
bool iszero(const void *ptr, size_t size);
+// Render a capsule shape. Cannot handle w < 2*r1
+void render_capsule_fast(cairo_t *cr, int x, int y, int w, int r1, int r2);
+
+// Render a capsule shape
void render_capsule(cairo_t *cr, int x, int y, int w, int r1, int r2);
typedef enum {