Lines Matching refs:stops
183 *stops; in ReadGRADIENTImage() local
214 stops=(StopInfo *) AcquireQuantumMemory(2,sizeof(*stops)); in ReadGRADIENTImage()
215 if (stops == (StopInfo *) NULL) in ReadGRADIENTImage()
217 stops[0].offset=0.0; in ReadGRADIENTImage()
218 stops[1].offset=1.0; in ReadGRADIENTImage()
219 status=QueryColorCompliance(colorname,AllCompliance,&stops[0].color, in ReadGRADIENTImage()
223 stops=(StopInfo *) RelinquishMagickMemory(stops); in ReadGRADIENTImage()
227 (void) SetImageColorspace(image,stops[0].color.colorspace,exception); in ReadGRADIENTImage()
229 if (GetPixelInfoIntensity(image,&stops[0].color) > (QuantumRange/2.0)) in ReadGRADIENTImage()
235 status=QueryColorCompliance(colorname,AllCompliance,&stops[1].color, in ReadGRADIENTImage()
239 stops=(StopInfo *) RelinquishMagickMemory(stops); in ReadGRADIENTImage()
243 image->alpha_trait=stops[0].color.alpha_trait; in ReadGRADIENTImage()
244 if (stops[1].color.alpha_trait != UndefinedPixelTrait) in ReadGRADIENTImage()
245 image->alpha_trait=stops[1].color.alpha_trait; in ReadGRADIENTImage()
247 LinearGradient : RadialGradient,PadSpread,stops,2,exception); in ReadGRADIENTImage()
248 stops=(StopInfo *) RelinquishMagickMemory(stops); in ReadGRADIENTImage()