summaryrefslogtreecommitdiff
path: root/src/cairo-path-stroke-polygon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-path-stroke-polygon.c')
-rw-r--r--src/cairo-path-stroke-polygon.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cairo-path-stroke-polygon.c b/src/cairo-path-stroke-polygon.c
index 44b6675e8..510ad3a6a 100644
--- a/src/cairo-path-stroke-polygon.c
+++ b/src/cairo-path-stroke-polygon.c
@@ -142,17 +142,6 @@ slope_compare_sgn (double dx1, double dy1, double dx2, double dy2)
return 0;
}
-static inline int
-range_step (int i, int step, int max)
-{
- i += step;
- if (i < 0)
- i = max - 1;
- if (i >= max)
- i = 0;
- return i;
-}
-
/*
* Construct a fan around the midpoint using the vertices from pen between
* inpt and outpt.