aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-11-24 12:57:05 +0100
committerFederico Angelilli <code@fedang.net>2024-11-24 12:57:05 +0100
commitb260d5beb9fab0c39f18be677e70b35e988d3c1d (patch)
tree1654463c878f17130d52ea6c99c725d0fbacc754 /src/util.h
parent57f91ef34cb8a8a1db2c18b468165a4273f13fa8 (diff)
Scale surfaces properly
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 33d4991..2326c8d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -85,6 +85,8 @@ void strfree(char **list);
bool iszero(const void *ptr, size_t size);
+double steps(double value, int n);
+
void render_triangle(cairo_t *cr, int x, int y, int w, int h);
// Render a capsule shape. Cannot handle w < 2*r1