Module Import alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list TryExcept body ImportFrom alias alias alias alias Assign NameStore NameStore NameLoad handlers ExceptHandler type NameLoad body ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Return BinOpDiv Num Call NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad BinOpAdd Call NameLoad BinOpSub NameLoad NameLoad Num Call NameLoad BinOpSub NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore BinOpAdd NameLoad BinOpMult Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult Call NameLoad Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num body AugAssignMult NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list ImportFrom alias alias alias alias alias TryExcept body ImportFrom alias alias alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad BinOpSub NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Num Return Call NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpSub Num NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore BinOpDiv BinOpMult Num BinOpAdd NameLoad Num NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Num Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Num AugAssignAdd NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Return NameLoad decorator_list ImportFrom alias ImportFrom alias identifier alias identifier ImportFrom alias identifier alias identifier FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore ListLoad Assign NameStore NameLoad For NameStore NameLoad body If CompareEq NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad TryExcept body Return Call NameLoad Lambda arguments args NameParam defaults BinOpDiv NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return BinOpMult ListLoad Num Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad Call NameLoad NameLoad keyword NameLoad Num orelse Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpOr CompareEq NameLoad Num CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr CompareLtE NameLoad SubscriptLoad NameLoad Index NameLoad CompareEq NameLoad BinOpSub Call NameLoad NameLoad Num body Break orelse AugAssignSub NameStore SubscriptLoad NameLoad Index NameLoad TryExcept body AugAssignDiv NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass If BoolOpAnd CompareEq NameLoad BinOpSub Call NameLoad NameLoad Num CompareEq SubscriptLoad NameLoad Index NameLoad Num body AugAssignSub NameStore Num Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias If CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num If CompareEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad TupleLoad TupleLoad NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad TupleLoad TupleLoad NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad TupleLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad orelse Raise NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If CompareEq Call NameLoad NameLoad Num body Raise NameLoad Str TryExcept body Assign NameStore BinOpDiv Num BinOpSub NameLoad Num handlers ExceptHandler type NameLoad body Assign NameStore Num For NameStore Call NameLoad NameLoad body Expr Yield Call NameLoad NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq Call NameLoad NameLoad Num body Return NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Assign NameStore Call NameLoad Num Call NameLoad Num NameLoad If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Return NameLoad Assign NameStore BinOpAdd Num BinOpMult BinOpSub Num NameLoad Num Assign NameStore Dict Num BinOpSub Call NameLoad NameLoad Num Num Num Assign NameStore Dict Num BinOpSub Call NameLoad NameLoad Num Num Num Assign NameStore Dict Num Num Assign NameStore Dict Num BinOpDiv BinOpSub BinOpSub AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Num Assign NameStore Dict Num BinOpDiv BinOpSub BinOpSub AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Num For NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad BinOpDiv Num BinOpAdd NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num Assign SubscriptStore NameLoad Index NameLoad BinOpMult UnaryOpUSub BinOpSub BinOpSub AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr SubscriptLoad NameLoad Index BinOpSub NameLoad Num SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpMult UnaryOpUSub BinOpSub BinOpSub AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr SubscriptLoad NameLoad Index BinOpSub NameLoad Num SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad BinOpSub AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr SubscriptLoad NameLoad Index BinOpAdd NameLoad Num BinOpSub AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr SubscriptLoad NameLoad Index BinOpAdd NameLoad Num AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Raise NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore Call NameLoad Num Call NameLoad NameLoad body If CompareEq NameLoad BinOpAdd NameLoad Num body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr orelse Expr Call AttributeLoad NameLoad attr orelse Raise NameLoad BinOpMod Str NameLoad orelse If CompareEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareEq AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A objc collections namedtuple cocoa CGPathRelease N/A cPathmatics N/A Pathmatician N/A N/A objc lookUpClass Pathmatician convert_path N/A N/A ns_path N/A N/A N/A Creates a CGPath from the points in an NSBezierPath N/A pth N/A N/A Pathmatician cgPath_ ns_path N/A N/A CGPathRelease pth N/A pth N/A N/A N/A cPathmatics fast_inverse_sqrt angle distance coordinates N/A isqrt inverse_sqrt fast_inverse_sqrt N/A N/A N/A ImportError N/A math degrees atan2 math sqrt pow math radians sin cos inverse_sqrt N/A N/A x N/A N/A N/A N/A 1.0 N/A sqrt x N/A N/A isqrt inverse_sqrt angle N/A N/A x0 y0 x1 y1 N/A N/A N/A a N/A degrees N/A atan2 N/A y1 y0 N/A x1 x0 N/A a N/A distance N/A N/A x0 y0 x1 y1 N/A N/A N/A N/A sqrt N/A N/A pow N/A x1 x0 2 N/A pow N/A y1 y0 2 N/A coordinates N/A N/A x0 y0 distance angle N/A N/A N/A x1 N/A x0 N/A N/A cos N/A radians angle distance N/A y1 N/A y0 N/A N/A sin N/A radians angle distance N/A N/A x1 y1 N/A reflect N/A N/A x0 y0 x1 y1 d a N/A 1.0 180 N/A N/A d N/A distance x0 y0 x1 y1 N/A a N/A angle x0 y0 x1 y1 N/A N/A x y N/A coordinates x0 y0 d a N/A N/A x y N/A cPathmatics intersects union intersect difference xor N/A N/A cPathmatics linepoint linelength curvepoint curvelength N/A N/A N/A ImportError N/A math sqrt pow linepoint N/A N/A t x0 y0 x1 y1 N/A N/A N/A Returns coordinates for point at t on the line.

        Calculates the coordinates of x and y for a point
        at t on a straight line.

        The t parameter is a number between 0.0 and 1.0,
        x0 and y0 define the starting point of the line,
        x1 and y1 the ending point of the line,

         N/A out_x N/A x0 N/A t N/A x1 x0 N/A out_y N/A y0 N/A t N/A y1 y0 N/A N/A out_x out_y N/A linelength N/A N/A x0 y0 x1 y1 N/A N/A N/A Returns the length of the line. N/A a N/A pow N/A abs N/A x0 x1 2 N/A b N/A pow N/A abs N/A y0 y1 2 N/A N/A sqrt N/A a b N/A curvepoint N/A N/A t x0 y0 x1 y1 x2 y2 x3 y3 handles N/A False N/A N/A Returns coordinates for point at t on the spline.

        Calculates the coordinates of x and y for a point
        at t on the cubic bezier spline, and its control points,
        based on the de Casteljau interpolation algorithm.

        The t parameter is a number between 0.0 and 1.0,
        x0 and y0 define the starting point of the spline,
        x1 and y1 its control point,
        x3 and y3 the ending point of the spline,
        x2 and y2 its control point.

        If the handles parameter is set,
        returns not only the point at t,
        but the modified control points of p0 and p3
        should this point split the path as well.
         N/A mint N/A 1 t N/A x01 N/A N/A x0 mint N/A x1 t N/A y01 N/A N/A y0 mint N/A y1 t N/A x12 N/A N/A x1 mint N/A x2 t N/A y12 N/A N/A y1 mint N/A y2 t N/A x23 N/A N/A x2 mint N/A x3 t N/A y23 N/A N/A y2 mint N/A y3 t N/A out_c1x N/A N/A x01 mint N/A x12 t N/A out_c1y N/A N/A y01 mint N/A y12 t N/A out_c2x N/A N/A x12 mint N/A x23 t N/A out_c2y N/A N/A y12 mint N/A y23 t N/A out_x N/A N/A out_c1x mint N/A out_c2x t N/A out_y N/A N/A out_c1y mint N/A out_c2y t N/A N/A handles N/A N/A N/A out_x out_y out_c1x out_c1y out_c2x out_c2y N/A N/A N/A out_x out_y out_c1x out_c1y out_c2x out_c2y x01 y01 x23 y23 N/A curvelength N/A N/A x0 y0 x1 y1 x2 y2 x3 y3 n N/A 20 N/A N/A Returns the length of the spline.

        Integrates the estimated length of the cubic bezier spline
        defined by x0, y0, ... x3, y3, by adding the lengths of
        lineair lines between points at t.

        The number of points is defined by n
        (n=10 would add the lengths of lines between 0.0 and 0.1,
        between 0.1 and 0.2, and so on).

        The default n=20 is fine for most cases, usually
        resulting in a deviation of less than 0.01.
         N/A length 0 N/A xi x0 N/A yi y0 N/A i N/A range n N/A N/A t N/A N/A 1.0 N/A i 1 n N/A N/A pt_x pt_y pt_c1x pt_c1y pt_c2x pt_c2y N/A curvepoint t x0 y0 x1 y1 x2 y2 x3 y3 N/A c N/A sqrt N/A N/A pow N/A abs N/A xi pt_x 2 N/A pow N/A abs N/A yi pt_y 2 N/A length c N/A xi pt_x N/A yi pt_y N/A length N/A plotdevice DeviceError Quartz NSMoveToBezierPathElement MOVETO NSLineToBezierPathElement LINETO Quartz NSCurveToBezierPathElement CURVETO NSClosePathBezierPathElement CLOSE segment_lengths N/A N/A path relative n N/A False 20 N/A N/A Returns a list with the lengths of each segment in the path.

    >>> path = Bezier(None)
    >>> segment_lengths(path)
    []
    >>> path.moveto(0, 0)
    >>> segment_lengths(path)
    []
    >>> path.lineto(100, 0)
    >>> segment_lengths(path)
    [100.0]
    >>> path.lineto(100, 300)
    >>> segment_lengths(path)
    [100.0, 300.0]
    >>> segment_lengths(path, relative=True)
    [0.25, 0.75]
    >>> path = Bezier(None)
    >>> path.moveto(1, 2)
    >>> path.curveto(3, 4, 5, 6, 7, 8)
    >>> segment_lengths(path)
    [8.4852813742385695]
     N/A lengths N/A N/A first True N/A el path N/A N/A N/A first True N/A N/A N/A close_x close_y N/A N/A el x N/A el y N/A first False N/A N/A N/A N/A el cmd MOVETO N/A N/A N/A close_x close_y N/A N/A el x N/A el y N/A N/A N/A lengths append 0.0 N/A N/A N/A N/A el cmd CLOSE N/A N/A N/A N/A lengths append N/A linelength x0 y0 close_x close_y N/A N/A N/A N/A el cmd LINETO N/A N/A N/A N/A lengths append N/A linelength x0 y0 N/A el x N/A el y N/A N/A N/A N/A el cmd CURVETO N/A N/A N/A x3 y3 x1 y1 x2 y2 N/A N/A el x N/A el y N/A N/A el ctrl1 x N/A N/A el ctrl1 y N/A N/A el ctrl2 x N/A N/A el ctrl2 y N/A N/A N/A lengths append N/A curvelength x0 y0 x1 y1 x2 y2 x3 y3 n N/A N/A N/A el cmd CLOSE N/A N/A x0 N/A el x N/A y0 N/A el y N/A relative N/A N/A length N/A sum lengths N/A N/A N/A N/A map N/A N/A N/A l N/A N/A l length lengths N/A N/A N/A ZeroDivisionError N/A N/A N/A N/A 0.0 N/A len lengths N/A N/A lengths N/A length N/A N/A path segmented n N/A False 20 N/A N/A Returns the length of the path.

    Calculates the length of each spline in the path,
    using n as a number of points to measure.

    When segmented is True, returns a list
    containing the individual length of each spline
    as values between 0.0 and 1.0,
    defining the relative length of each spline
    in relation to the total path length.

    The length of an empty path is zero:
    >>> path = Bezier(None)
    >>> length(path)
    0.0

    >>> path.moveto(0, 0)
    >>> path.lineto(100, 0)
    >>> length(path)
    100.0

    >>> path.lineto(100, 100)
    >>> length(path)
    200.0

    # Segmented returns a list of each segment
    >>> length(path, segmented=True)
    [0.5, 0.5]
     N/A N/A segmented N/A N/A N/A sum N/A segment_lengths path n n 0.0 N/A N/A N/A segment_lengths path relative True n n N/A _locate N/A N/A path t segments N/A None N/A N/A Locates t on a specific segment in the path.

    Returns (index, t, Curve)

    A path is a combination of lines and curves (segments).
    The returned index indicates the start of the segment
    that contains point t.

    The returned t is the absolute time on that segment,
    in contrast to the relative t on the whole of the path.
    The returned point is the last MOVETO,
    any subsequent CLOSETO after i closes to that point.

    When you supply the list of segment lengths yourself,
    as returned from length(path, segmented=True),
    point() works about thirty times faster in a for-loop,
    since it doesn't need to recalculate the length
    during each iteration. Note that this has been deprecated:
    the Bezier now caches the segment lengths the moment you use
    them.

    >>> path = Bezier(None)
    >>> _locate(path, 0.0)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.moveto(0,0)
    >>> _locate(path, 0.0)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.lineto(100, 100)
    >>> _locate(path, 0.0)
    (0, 0.0, Point(x=0.0, y=0.0))
    >>> _locate(path, 1.0)
    (0, 1.0, Point(x=0.0, y=0.0))
     gfx.geometry Point N/A N/A segments None N/A N/A segments N/A N/A path segmentlengths relative True N/A N/A N/A len segments 0 N/A N/A DeviceError The given path is empty N/A N/A i el N/A enumerate path N/A N/A N/A N/A i 0 N/A N/A el cmd MOVETO N/A N/A closeto N/A Point N/A el x N/A el y N/A N/A N/A t N/A segments N/A i N/A i N/A N/A len segments 1 N/A N/A N/A N/A t N/A segments N/A i N/A N/A N/A t N/A segments N/A i N/A N/A N/A ZeroDivisionError N/A N/A N/A N/A N/A i N/A N/A len segments 1 N/A N/A segments N/A i 0 N/A N/A i 1 N/A N/A i t closeto N/A point N/A N/A path t segments N/A None N/A N/A Returns coordinates for point at t on the path.

    Gets the length of the path, based on the length
    of each curve and line in the path.
    Determines in what segment t falls.
    Gets the point on that segment.

    When you supply the list of segment lengths yourself,
    as returned from length(path, segmented=True),
    point() works about thirty times faster in a for-loop,
    since it doesn't need to recalculate the length
    during each iteration. Note that this has been deprecated:
    the Bezier now caches the segment lengths the moment you use
    them.

    >>> path = Bezier(None)
    >>> point(path, 0.0)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.moveto(0, 0)
    >>> point(path, 0.0)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.lineto(100, 0)
    >>> point(path, 0.0)
    Curve(LINETO, ((0.0, 0.0),))
    >>> point(path, 0.1)
    Curve(LINETO, ((10.0, 0.0),))
     gfx.bezier Curve N/A N/A N/A len path 0 N/A N/A DeviceError The given path is empty N/A N/A i t closeto N/A _locate path t segments segments N/A N/A x0 y0 N/A N/A N/A path N/A i x N/A N/A path N/A i y N/A p1 N/A path N/A N/A i 1 N/A N/A N/A p1 cmd CLOSE N/A N/A N/A x y N/A linepoint t x0 y0 N/A closeto x N/A closeto y N/A N/A Curve LINETO N/A N/A x y N/A N/A N/A N/A p1 cmd LINETO N/A N/A N/A x1 y1 N/A N/A p1 x N/A p1 y N/A N/A x y N/A linepoint t x0 y0 x1 y1 N/A N/A Curve LINETO N/A N/A x y N/A N/A N/A N/A p1 cmd CURVETO N/A N/A N/A x3 y3 x1 y1 x2 y2 N/A N/A p1 x N/A p1 y N/A N/A p1 ctrl1 x N/A N/A p1 ctrl1 y N/A N/A p1 ctrl2 x N/A N/A p1 ctrl2 y N/A N/A x y c1x c1y c2x c2y N/A curvepoint t x0 y0 x1 y1 x2 y2 x3 y3 N/A N/A Curve CURVETO N/A N/A c1x c1y N/A c2x c2y N/A x y N/A N/A DeviceError N/A Unknown cmd for p1 %s p1 N/A points N/A N/A path amount N/A 100 N/A N/A Returns an iterator with a list of calculated points for the path.
    This method calls the point method <amount> times, increasing t,
    distributing point spacing linearly.

    >>> path = Bezier(None)
    >>> list(points(path))
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.moveto(0, 0)
    >>> list(points(path))
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.lineto(100, 0)
    >>> list(points(path, amount=4))
    [Curve(LINETO, ((0.0, 0.0),)), Curve(LINETO, ((25.0, 0.0),)), Curve(LINETO, ((50.0, 0.0),)), Curve(LINETO, ((75.0, 0.0),))]
     N/A N/A N/A len path 0 N/A N/A DeviceError The given path is empty N/A N/A N/A delta N/A 1.0 N/A amount 1 N/A N/A N/A ZeroDivisionError N/A N/A delta 1.0 N/A i N/A xrange amount N/A N/A N/A N/A point path N/A delta i N/A contours N/A N/A path N/A N/A N/A Returns a list of contours in the path.

    A contour is a sequence of lines and curves
    separated from the next contour by a MOVETO.

    For example, the glyph "o" has two contours:
    the inner circle and the outer circle.

    >>> path = Bezier(None)
    >>> path.moveto(0, 0)
    >>> path.lineto(100, 100)
    >>> len(contours(path))
    1

    A new contour is defined as something that starts with a moveto:
    >>> path.moveto(50, 50)
    >>> path.curveto(150, 150, 50, 250, 80, 95)
    >>> len(contours(path))
    2

    Empty moveto's don't do anything:
    >>> path.moveto(50, 50)
    >>> path.moveto(50, 50)
    >>> len(contours(path))
    2

    It doesn't matter if the path is closed or open:
    >>> path.closepath()
    >>> len(contours(path))
    2
     gfx.bezier Bezier N/A contours N/A N/A current_contour None N/A empty True N/A N/A i el N/A enumerate path N/A N/A N/A N/A el cmd MOVETO N/A N/A N/A empty N/A N/A N/A N/A contours append current_contour N/A current_contour N/A Bezier N/A N/A N/A current_contour moveto N/A el x N/A el y N/A empty True N/A N/A N/A N/A el cmd LINETO N/A N/A empty False N/A N/A N/A current_contour lineto N/A el x N/A el y N/A N/A N/A N/A el cmd CURVETO N/A N/A empty False N/A N/A N/A current_contour curveto N/A N/A el ctrl1 x N/A N/A el ctrl1 y N/A N/A el ctrl2 x N/A N/A el ctrl2 y N/A el x N/A el y N/A N/A N/A N/A el cmd CLOSE N/A N/A N/A N/A current_contour closepath N/A N/A empty N/A N/A N/A N/A contours append current_contour N/A contours N/A findpath N/A N/A points curvature N/A 1.0 N/A N/A Constructs a path between the given list of points.

    Interpolates the list of points and determines
    a smooth bezier path betweem them.

    The curvature parameter offers some control on
    how separate segments are stitched together:
    from straight angles to smooth curves.
    Curvature is only useful if the path has more than three points.
     gfx.geometry Point gfx.bezier Bezier types TupleType ListType N/A N/A i pt N/A enumerate points N/A N/A N/A N/A type pt N/A TupleType ListType N/A N/A N/A points N/A i N/A Point N/A pt N/A 0 N/A pt N/A 1 N/A N/A N/A len points 0 N/A N/A None N/A N/A N/A len points 1 N/A N/A path N/A Bezier None N/A pt N/A points N/A 0 N/A N/A N/A path moveto N/A pt x N/A pt y N/A path N/A N/A N/A len points 2 N/A N/A path N/A Bezier None N/A N/A pt1 pt2 N/A points N/A 2 N/A N/A N/A path moveto N/A pt1 x N/A pt1 y N/A N/A N/A path lineto N/A pt2 x N/A pt2 y N/A path N/A curvature N/A max 0 N/A min 1 curvature N/A N/A curvature 0 N/A N/A path N/A Bezier None N/A N/A N/A path moveto N/A N/A points N/A 0 x N/A N/A points N/A 0 y N/A i N/A range N/A len points N/A N/A N/A N/A path lineto N/A N/A points N/A i x N/A N/A points N/A i y N/A path N/A curvature N/A 4 N/A N/A 1.0 curvature 40 N/A dx N/A 0 N/A N/A len points 1 0 0 N/A dy N/A 0 N/A N/A len points 1 0 0 N/A bi N/A 1 -0.25 N/A ax N/A 1 N/A N/A N/A N/A N/A points N/A 2 x N/A N/A points N/A 0 x N/A dx N/A 0 4.0 N/A ay N/A 1 N/A N/A N/A N/A N/A points N/A 2 y N/A N/A points N/A 0 y N/A dy N/A 0 4.0 N/A i N/A range 2 N/A N/A len points 1 N/A N/A N/A bi N/A i N/A -1.0 N/A curvature N/A bi N/A N/A i 1 N/A N/A ax N/A i N/A N/A N/A N/A N/A N/A points N/A N/A i 1 x N/A N/A points N/A N/A i 1 x N/A ax N/A N/A i 1 N/A bi N/A i N/A N/A ay N/A i N/A N/A N/A N/A N/A N/A points N/A N/A i 1 y N/A N/A points N/A N/A i 1 y N/A ay N/A N/A i 1 N/A bi N/A i N/A r N/A range 1 N/A N/A len points 1 N/A N/A N/A r reverse N/A i r N/A N/A N/A dx N/A i N/A N/A ax N/A i N/A N/A dx N/A N/A i 1 N/A bi N/A i N/A N/A dy N/A i N/A N/A ay N/A i N/A N/A dy N/A N/A i 1 N/A bi N/A i N/A path N/A Bezier None N/A N/A N/A path moveto N/A N/A points N/A 0 x N/A N/A points N/A 0 y N/A i N/A range N/A N/A len points 1 N/A N/A N/A N/A path curveto N/A N/A N/A points N/A i x N/A dx N/A i N/A N/A N/A points N/A i y N/A dy N/A i N/A N/A N/A points N/A N/A i 1 x N/A dx N/A N/A i 1 N/A N/A N/A points N/A N/A i 1 y N/A dy N/A N/A i 1 N/A N/A points N/A N/A i 1 x N/A N/A points N/A N/A i 1 y N/A path N/A insert_point N/A N/A path t N/A N/A N/A Returns a path copy with an extra point at t.
    >>> path = Bezier(None)
    >>> path.moveto(0, 0)
    >>> insert_point(path, 0.1)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.moveto(0, 0)
    >>> insert_point(path, 0.2)
    Traceback (most recent call last):
        ...
    DeviceError: The given path is empty
    >>> path.lineto(100, 50)
    >>> len(path)
    2
    >>> path = insert_point(path, 0.5)
    >>> len(path)
    3
    >>> path[1]
    Curve(LINETO, ((50.0, 25.0),))
    >>> path = Bezier(None)
    >>> path.moveto(0, 100)
    >>> path.curveto(0, 50, 100, 50, 100, 100)
    >>> path = insert_point(path, 0.5)
    >>> path[1]
    Curve(LINETO, ((25.0, 62.5), (0.0, 75.0), (50.0, 62.5))
     N/A N/A i t closeto N/A _locate path t N/A x0 N/A N/A path N/A i x N/A y0 N/A N/A path N/A i y N/A p1 N/A path N/A N/A i 1 N/A N/A p1cmd x3 y3 x1 y1 x2 y2 N/A N/A p1 cmd N/A p1 x N/A p1 y N/A N/A p1 ctrl1 x N/A N/A p1 ctrl1 y N/A N/A p1 ctrl2 x N/A N/A p1 ctrl2 y N/A N/A p1cmd CLOSE N/A N/A pt_cmd LINETO N/A N/A pt_x pt_y N/A linepoint t x0 y0 N/A closeto x N/A closeto y N/A N/A N/A p1cmd LINETO N/A N/A pt_cmd LINETO N/A N/A pt_x pt_y N/A linepoint t x0 y0 x3 y3 N/A N/A N/A p1cmd CURVETO N/A N/A pt_cmd CURVETO N/A N/A pt_x pt_y pt_c1x pt_c1y pt_c2x pt_c2y pt_h1x pt_h1y pt_h2x pt_h2y N/A curvepoint t x0 y0 x1 y1 x2 y2 x3 y3 True N/A N/A DeviceError Locate should not return a MOVETO N/A new_path N/A Bezier None N/A N/A N/A new_path moveto N/A N/A path N/A 0 x N/A N/A path N/A 0 y N/A j N/A range 1 N/A len path N/A N/A N/A j N/A i 1 N/A N/A N/A pt_cmd CURVETO N/A N/A N/A N/A new_path curveto pt_h1x pt_h1y pt_c1x pt_c1y pt_x pt_y N/A N/A N/A new_path curveto pt_c2x pt_c2y pt_h2x pt_h2y N/A N/A path N/A j x N/A N/A path N/A j y N/A N/A N/A pt_cmd LINETO N/A N/A N/A N/A new_path lineto pt_x pt_y N/A N/A N/A N/A path N/A j cmd CLOSE N/A N/A N/A N/A new_path lineto N/A N/A path N/A j x N/A N/A path N/A j y N/A N/A N/A N/A new_path closepath N/A N/A DeviceError N/A Didn't expect pt_cmd %s here pt_cmd N/A N/A N/A N/A N/A path N/A j cmd MOVETO N/A N/A N/A N/A new_path moveto N/A N/A path N/A j x N/A N/A path N/A j y N/A N/A N/A N/A path N/A j cmd LINETO N/A N/A N/A N/A new_path lineto N/A N/A path N/A j x N/A N/A path N/A j y N/A N/A N/A N/A path N/A j cmd CURVETO N/A N/A N/A N/A new_path curveto N/A N/A N/A path N/A j ctrl1 x N/A N/A N/A path N/A j ctrl1 y N/A N/A N/A path N/A j ctrl2 x N/A N/A N/A path N/A j ctrl2 y N/A N/A path N/A j x N/A N/A path N/A j y N/A N/A N/A N/A path N/A j cmd CLOSE N/A N/A N/A N/A new_path closepath N/A new_path N/A