Lines Matching refs:path_info
516 static PolygonInfo *ConvertPathToPolygon(const PathInfo *path_info, in ConvertPathToPolygon() argument
582 for (i=0; path_info[i].code != EndCode; i++) in ConvertPathToPolygon()
584 if ((path_info[i].code == MoveToCode) || (path_info[i].code == OpenCode) || in ConvertPathToPolygon()
585 (path_info[i].code == GhostlineCode)) in ConvertPathToPolygon()
634 ghostline=path_info[i].code == GhostlineCode ? MagickTrue : MagickFalse; in ConvertPathToPolygon()
635 point=path_info[i].point; in ConvertPathToPolygon()
646 next_direction=((path_info[i].point.y > point.y) || in ConvertPathToPolygon()
647 ((fabs(path_info[i].point.y-point.y) < MagickEpsilon) && in ConvertPathToPolygon()
648 (path_info[i].point.x > point.x))) ? 1 : -1; in ConvertPathToPolygon()
714 point=path_info[i].point; in ConvertPathToPolygon()
819 static void LogPathInfo(const PathInfo *path_info) in LogPathInfo() argument
825 for (p=path_info; p->code != EndCode; p++) in LogPathInfo()
841 *path_info; in ConvertPrimitiveToPath() local
873 path_info=(PathInfo *) AcquireQuantumMemory((size_t) (3UL*i+1UL), in ConvertPrimitiveToPath()
874 sizeof(*path_info)); in ConvertPrimitiveToPath()
875 if (path_info == (PathInfo *) NULL) in ConvertPrimitiveToPath()
911 path_info[n].code=code; in ConvertPrimitiveToPath()
912 path_info[n].point=primitive_info[i].point; in ConvertPrimitiveToPath()
926 path_info[start].code=OpenCode; in ConvertPrimitiveToPath()
927 path_info[n].code=GhostlineCode; in ConvertPrimitiveToPath()
928 path_info[n].point=primitive_info[i].point; in ConvertPrimitiveToPath()
930 path_info[n].code=LineToCode; in ConvertPrimitiveToPath()
931 path_info[n].point=p; in ConvertPrimitiveToPath()
934 path_info[n].code=EndCode; in ConvertPrimitiveToPath()
935 path_info[n].point.x=0.0; in ConvertPrimitiveToPath()
936 path_info[n].point.y=0.0; in ConvertPrimitiveToPath()
938 LogPathInfo(path_info); in ConvertPrimitiveToPath()
939 path_info=(PathInfo *) ResizeQuantumMemory(path_info,(size_t) (n+1), in ConvertPrimitiveToPath()
940 sizeof(*path_info)); in ConvertPrimitiveToPath()
941 return(path_info); in ConvertPrimitiveToPath()
4621 *magick_restrict path_info; in AcquirePolygonThreadSet() local
4642 path_info=ConvertPrimitiveToPath(primitive_info,exception); in AcquirePolygonThreadSet()
4643 if (path_info == (PathInfo *) NULL) in AcquirePolygonThreadSet()
4645 polygon_info[0]=ConvertPathToPolygon(path_info,exception); in AcquirePolygonThreadSet()
4698 path_info=(PathInfo *) RelinquishMagickMemory(path_info); in AcquirePolygonThreadSet()