Lines Matching refs:stops
351 if (draw_info->gradient.stops != (StopInfo *) NULL) in CloneDrawInfo()
357 clone_info->gradient.stops=(StopInfo *) AcquireQuantumMemory((size_t) in CloneDrawInfo()
358 number_stops,sizeof(*clone_info->gradient.stops)); in CloneDrawInfo()
359 if (clone_info->gradient.stops == (StopInfo *) NULL) in CloneDrawInfo()
362 (void) memcpy(clone_info->gradient.stops,draw_info->gradient.stops, in CloneDrawInfo()
363 (size_t) number_stops*sizeof(*clone_info->gradient.stops)); in CloneDrawInfo()
912 if (draw_info->gradient.stops != (StopInfo *) NULL) in DestroyDrawInfo()
913 draw_info->gradient.stops=(StopInfo *) RelinquishMagickMemory( in DestroyDrawInfo()
914 draw_info->gradient.stops); in DestroyDrawInfo()
2014 qsort(gradient->stops,gradient->number_stops,sizeof(StopInfo), in DrawGradientImage()
2077 if (offset < gradient->stops[i].offset) in DrawGradientImage()
2080 composite=gradient->stops[0].color; in DrawGradientImage()
2083 composite=gradient->stops[gradient->number_stops-1].color; in DrawGradientImage()
2088 alpha=(offset-gradient->stops[i].offset)/ in DrawGradientImage()
2089 (gradient->stops[j].offset-gradient->stops[i].offset); in DrawGradientImage()
2090 CompositePixelInfoBlend(&gradient->stops[i].color,1.0-alpha, in DrawGradientImage()
2091 &gradient->stops[j].color,alpha,&composite); in DrawGradientImage()
2111 if (offset < gradient->stops[i].offset) in DrawGradientImage()
2114 composite=gradient->stops[0].color; in DrawGradientImage()
2117 composite=gradient->stops[gradient->number_stops-1].color; in DrawGradientImage()
2122 alpha=(offset-gradient->stops[i].offset)/ in DrawGradientImage()
2123 (gradient->stops[j].offset-gradient->stops[i].offset); in DrawGradientImage()
2124 CompositePixelInfoBlend(&gradient->stops[i].color,1.0-alpha, in DrawGradientImage()
2125 &gradient->stops[j].color,alpha,&composite); in DrawGradientImage()
2167 if (offset < gradient->stops[i].offset) in DrawGradientImage()
2170 composite=gradient->stops[0].color; in DrawGradientImage()
2173 composite=gradient->stops[gradient->number_stops-1].color; in DrawGradientImage()
2178 alpha=(offset-gradient->stops[i].offset)/ in DrawGradientImage()
2179 (gradient->stops[j].offset-gradient->stops[i].offset); in DrawGradientImage()
2189 CompositePixelInfoBlend(&gradient->stops[i].color,1.0-alpha, in DrawGradientImage()
2190 &gradient->stops[j].color,alpha,&composite); in DrawGradientImage()
2466 *stops; in RenderMVGContent() local
2508 stops=(StopInfo *) NULL; in RenderMVGContent()
3498 stops=(StopInfo *) AcquireQuantumMemory(2,sizeof(*stops)); in RenderMVGContent()
3501 stops=(StopInfo *) ResizeQuantumMemory(stops,number_stops, in RenderMVGContent()
3502 sizeof(*stops)); in RenderMVGContent()
3503 if (stops == (StopInfo *) NULL) in RenderMVGContent()
3513 stops[number_stops-1].color=stop_color; in RenderMVGContent()
3516 stops[number_stops-1].offset=factor*StringToDouble(token, in RenderMVGContent()
3862 (void) GradientImage(image,type,PadSpread,stops,number_stops, in RenderMVGContent()
3866 stops=(StopInfo *) RelinquishMagickMemory(stops); in RenderMVGContent()
4358 if (stops != (StopInfo *) NULL) in RenderMVGContent()
4359 stops=(StopInfo *) RelinquishMagickMemory(stops); in RenderMVGContent()