From a06dae7b35cfc24f722ea5b4e1b11592d5cb8775 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 14 Sep 2015 12:05:34 +0200 Subject: Remove unused functions. --- source/xps/xps-gradient.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/xps') diff --git a/source/xps/xps-gradient.c b/source/xps/xps-gradient.c index f3a9f8e8..234d6d42 100644 --- a/source/xps/xps-gradient.c +++ b/source/xps/xps-gradient.c @@ -286,13 +286,6 @@ xps_draw_one_linear_gradient(fz_context *ctx, xps_document *doc, const fz_matrix * reach a reasonable limit for infinite cases. */ -static inline float point_inside_circle(float px, float py, float x, float y, float r) -{ - float dx = px - x; - float dy = py - y; - return dx * dx + dy * dy <= r * r; -} - static void xps_draw_radial_gradient(fz_context *ctx, xps_document *doc, const fz_matrix *ctm, const fz_rect *area, struct stop *stops, int count, -- cgit v1.2.3