From ff04a51f4f89813c319f157c0aa993f36b944815 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 13 Feb 2022 16:08:50 -0500 Subject: [PATCH] alpha is never zero --- magick/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magick/draw.c b/magick/draw.c index 77c7763a79..cbdc05f92b 100644 --- a/magick/draw.c +++ b/magick/draw.c @@ -4732,7 +4732,7 @@ static double GetOpacityPixel(PolygonInfo *polygon_info,const double mid, } else { - alpha=PerceptibleReciprocal(alpha); + alpha=1.0/alpha; beta=delta.x*(y-q->y)-delta.y*(x-q->x); distance=alpha*beta*beta; }