Lines Matching refs:dash_pattern

309   if (draw_info->dash_pattern != (double *) NULL)  in CloneDrawInfo()
314 for (x=0; fabs(draw_info->dash_pattern[x]) >= DrawEpsilon; x++) ; in CloneDrawInfo()
315 clone_info->dash_pattern=(double *) AcquireQuantumMemory((size_t) x+1UL, in CloneDrawInfo()
316 sizeof(*clone_info->dash_pattern)); in CloneDrawInfo()
317 if (clone_info->dash_pattern == (double *) NULL) in CloneDrawInfo()
320 (void) CopyMagickMemory(clone_info->dash_pattern,draw_info->dash_pattern, in CloneDrawInfo()
321 (size_t) (x+1)*sizeof(*clone_info->dash_pattern)); in CloneDrawInfo()
854 if (draw_info->dash_pattern != (double *) NULL) in DestroyDrawInfo()
855 draw_info->dash_pattern=(double *) RelinquishMagickMemory( in DestroyDrawInfo()
856 draw_info->dash_pattern); in DestroyDrawInfo()
1523 length=scale*(draw_info->dash_pattern[0]-0.5); in DrawDashPolygon()
1529 if (draw_info->dash_pattern[n] <= 0.0) in DrawDashPolygon()
1531 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5)); in DrawDashPolygon()
1536 length=scale*(draw_info->dash_pattern[n]+0.5); in DrawDashPolygon()
1559 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon) in DrawDashPolygon()
1561 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5)); in DrawDashPolygon()
1591 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon) in DrawDashPolygon()
1593 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5)); in DrawDashPolygon()
2627 if (graphic_context[n]->dash_pattern != (double *) NULL) in DrawImage()
2628 graphic_context[n]->dash_pattern=(double *) in DrawImage()
2629 RelinquishMagickMemory(graphic_context[n]->dash_pattern); in DrawImage()
2645 graphic_context[n]->dash_pattern=(double *) in DrawImage()
2647 sizeof(*graphic_context[n]->dash_pattern)); in DrawImage()
2648 if (graphic_context[n]->dash_pattern == (double *) NULL) in DrawImage()
2661 graphic_context[n]->dash_pattern[j]=StringToDouble(token, in DrawImage()
2665 if (graphic_context[n]->dash_pattern[j] < 0.0) in DrawImage()
2670 graphic_context[n]->dash_pattern[j]= in DrawImage()
2671 graphic_context[n]->dash_pattern[j-x]; in DrawImage()
2672 graphic_context[n]->dash_pattern[j]=0.0; in DrawImage()
4699 if ((draw_info->dash_pattern != (double *) NULL) && in DrawPrimitive()
4700 (fabs(draw_info->dash_pattern[0]) >= DrawEpsilon) && in DrawPrimitive()