summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-06 00:36:18 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-06 00:36:18 +0200
commitb761cb01c5ac977efed3a60f896f4bdc9cd744f0 (patch)
treeb52f0de79c5307bb8978d32d27c76943eb04d37d /fitz
parent7020f30d5dc176143dbbf8cdca697f79674d7cf5 (diff)
downloadmupdf-b761cb01c5ac977efed3a60f896f4bdc9cd744f0.tar.xz
Use the calculated flatness.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/dev_draw.c5
1 files changed, 0 insertions, 5 deletions
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;