offset*=PerceptibleReciprocal(length);
for (x=bounding_box.x; x < (ssize_t) bounding_box.width; x++)
{
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
GetPixelInfoPixel(image,q,&pixel);
switch (gradient->spread)
{
/*
Fill and/or stroke.
*/
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
fill_alpha=GetFillAlpha(polygon_info[id],mid,fill,draw_info->fill_rule,
x,y,&stroke_alpha);
if (draw_info->stroke_antialias == MagickFalse)
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
GetPixelInfoPixel(image,q,&pixel);
if (IsFuzzyEquivalencePixelInfo(&pixel,&target) == MagickFalse)
{
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
GetFillColor(draw_info,x,y,&pixel,exception);
SetPixelAlpha(image,ClampToQuantum(pixel.alpha),q);
q+=GetPixelChannels(image);
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
GetPixelInfoPixel(image,q,&pixel);
if (IsFuzzyEquivalencePixelInfo(&pixel,&target) == MagickFalse)
{
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
+ {
+ q+=GetPixelChannels(image);
+ continue;
+ }
GetFillColor(draw_info,x,y,&pixel,exception);
SetPixelViaPixelInfo(image,&pixel,q);
q+=GetPixelChannels(image);