From e6a76f8bfb9a8edfbd4cdc44e79eb080f164cf71 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 13 Feb 2022 15:19:08 -0500 Subject: [PATCH] display last debugging character --- magick/draw.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/magick/draw.c b/magick/draw.c index 1954f80793..77c7763a79 100644 --- a/magick/draw.c +++ b/magick/draw.c @@ -4733,7 +4733,7 @@ static double GetOpacityPixel(PolygonInfo *polygon_info,const double mid, else { alpha=PerceptibleReciprocal(alpha); - beta=delta.x*(y-q->y)-delta.y*(x-q->x)+MagickEpsilon; + beta=delta.x*(y-q->y)-delta.y*(x-q->x); distance=alpha*beta*beta; } } @@ -4938,12 +4938,10 @@ static MagickBooleanType DrawPolygonPrimitive(Image *image, PixelPacket *magick_restrict q; - ssize_t - x; - ssize_t start_x, - stop_x; + stop_x, + x; if (status == MagickFalse) continue;