Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:path_info

376 %        const PathInfo *path_info)
385 % o path_info: Specifies a pointer to an PathInfo structure.
469 static PolygonInfo *ConvertPathToPolygon(const PathInfo *path_info)
518 for (i=0; path_info[i].code != EndCode; i++)
520 if ((path_info[i].code == MoveToCode) || (path_info[i].code == OpenCode) ||
521 (path_info[i].code == GhostlineCode))
560 ghostline=path_info[i].code == GhostlineCode ? MagickTrue : MagickFalse;
561 point=path_info[i].point;
572 next_direction=((path_info[i].point.y > point.y) ||
573 ((fabs(path_info[i].point.y-point.y) < DrawEpsilon) &&
574 (path_info[i].point.x > point.x))) ? 1 : -1;
625 point=path_info[i].point;
703 static void LogPathInfo(const PathInfo *path_info)
709 for (p=path_info; p->code != EndCode; p++)
721 *path_info;
753 path_info=(PathInfo *) AcquireQuantumMemory((size_t) (2UL*i+3UL),
754 sizeof(*path_info));
755 if (path_info == (PathInfo *) NULL)
781 path_info[n].code=code;
782 path_info[n].point=primitive_info[i].point;
794 path_info[start].code=OpenCode;
795 path_info[n].code=GhostlineCode;
796 path_info[n].point=primitive_info[i].point;
798 path_info[n].code=LineToCode;
799 path_info[n].point=p;
802 path_info[n].code=EndCode;
803 path_info[n].point.x=0.0;
804 path_info[n].point.y=0.0;
806 LogPathInfo(path_info);
807 return(path_info);
3767 *magick_restrict path_info;
3784 path_info=ConvertPrimitiveToPath(primitive_info);
3785 if (path_info == (PathInfo *) NULL)
3789 polygon_info[i]=ConvertPathToPolygon(path_info);
3793 path_info=(PathInfo *) RelinquishMagickMemory(path_info);