Lines Matching refs:stops
114 *stops;
145 stops=(StopInfo *) AcquireQuantumMemory(2,sizeof(*stops));
146 if (stops == (StopInfo *) NULL)
148 stops[0].offset=0.0;
149 stops[1].offset=1.0;
150 status=QueryColorCompliance(colorname,AllCompliance,&stops[0].color,exception);
153 stops=(StopInfo *) RelinquishMagickMemory(stops);
157 (void) SetImageColorspace(image,stops[0].color.colorspace,exception);
159 if (GetPixelInfoIntensity(image,&stops[0].color) > (QuantumRange/2.0))
165 status=QueryColorCompliance(colorname,AllCompliance,&stops[1].color,exception);
168 stops=(StopInfo *) RelinquishMagickMemory(stops);
172 image->alpha_trait=stops[0].color.alpha_trait;
173 if (stops[1].color.alpha_trait != UndefinedPixelTrait)
174 image->alpha_trait=stops[1].color.alpha_trait;
176 LinearGradient : RadialGradient,PadSpread,stops,2,exception);
177 stops=(StopInfo *) RelinquishMagickMemory(stops);