From b260d5beb9fab0c39f18be677e70b35e988d3c1d Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 24 Nov 2024 12:57:05 +0100 Subject: Scale surfaces properly --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.h') 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 -- cgit v1.2.3