From b761cb01c5ac977efed3a60f896f4bdc9cd744f0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 6 Apr 2010 00:36:18 +0200 Subject: Use the calculated flatness. --- fitz/dev_draw.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fitz') diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c index 125ba020..45575bbb 100644 --- a/fitz/dev_draw.c +++ b/fitz/dev_draw.c @@ -152,8 +152,6 @@ void fz_drawstrokepath(void *user, fz_path *path, fz_colorspace *colorspace, flo unsigned char argb[7]; float rgb[3]; - if (flatness < 0.1) - flatness = 0.1; if (linewidth * expansion < 0.1) linewidth = 1.0 / expansion; @@ -200,9 +198,6 @@ void fz_drawclippath(void *user, fz_path *path) return; } - if (flatness < 0.1) - flatness = 0.1; - clip.x0 = dev->dest->x; clip.y0 = dev->dest->y; clip.x1 = dev->dest->x + dev->dest->w; -- cgit v1.2.3