Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/3338
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Mar 2, 2021
1 parent 4bf64fd commit 4b5e026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ MagickExport MagickBooleanType DrawGradientImage(Image *image,
repeat=fmod(offset,(double) gradient->radius);
antialias=repeat+1.0 > gradient->radius ? MagickTrue :
MagickFalse;
offset=repeat/gradient->radius;
offset=repeat*PerceptibleReciprocal(gradient->radius);
}
}
for (i=0; i < (ssize_t) gradient->number_stops; i++)
Expand Down

0 comments on commit 4b5e026

Please sign in to comment.