Lines Matching refs:dash_pattern

315   if (draw_info->dash_pattern != (double *) NULL)
320 for (x=0; fabs(draw_info->dash_pattern[x]) >= DrawEpsilon; x++) ;
321 clone_info->dash_pattern=(double *) AcquireQuantumMemory((size_t) x+1UL,
322 sizeof(*clone_info->dash_pattern));
323 if (clone_info->dash_pattern == (double *) NULL)
326 (void) CopyMagickMemory(clone_info->dash_pattern,draw_info->dash_pattern,
327 (size_t) (x+1)*sizeof(*clone_info->dash_pattern));
863 if (draw_info->dash_pattern != (double *) NULL)
864 draw_info->dash_pattern=(double *) RelinquishMagickMemory(
865 draw_info->dash_pattern);
1538 length=scale*(draw_info->dash_pattern[0]-0.5);
1544 if (draw_info->dash_pattern[n] <= 0.0)
1546 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5));
1551 length=scale*(draw_info->dash_pattern[n]+0.5);
1574 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon)
1576 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5));
1606 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon)
1608 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5));
2643 if (graphic_context[n]->dash_pattern != (double *) NULL)
2644 graphic_context[n]->dash_pattern=(double *)
2645 RelinquishMagickMemory(graphic_context[n]->dash_pattern);
2661 graphic_context[n]->dash_pattern=(double *)
2663 sizeof(*graphic_context[n]->dash_pattern));
2664 if (graphic_context[n]->dash_pattern == (double *) NULL)
2677 graphic_context[n]->dash_pattern[j]=StringToDouble(token,
2681 if (graphic_context[n]->dash_pattern[j] < 0.0)
2686 graphic_context[n]->dash_pattern[j]=
2687 graphic_context[n]->dash_pattern[j-x];
2688 graphic_context[n]->dash_pattern[j]=0.0;
4719 if ((draw_info->dash_pattern != (double *) NULL) &&
4720 (fabs(draw_info->dash_pattern[0]) >= DrawEpsilon) &&