- newpath - intialize current path to be empty
- currentpoint x y return current point coordinate
x y moveto - set current point to (x, y)
dx dy rmoveto - relative moveto
x y lineto - append straight line to (x, y)
dx dy rlineto - relative lineto
x y r ang1 ang2 arc - append counterclockwise arc
x y r ang1 ang2 arcn - append clockwise arc
x1 y1 x2 y2 r arcto xt1 yt1 xt2 yt2 append tangent arc
x1 y1 x2 y2 x3 y3 curveto - append Bezier cubic section
dx1 dy1 dx2 dy2 dx3 dy3 rcurveto - relative curveto
- closepath - connect subpath back to its
starting point
- flattenpath - convert curves to sequences of
straight lines
- reversepath - reverse direction of current path
- strokepath - compute outline of stroked path,
string bool charpath - append character outline to
current path
- clippath - set current path to clipping path
- pathbbox llx lly urx ury return bounding box of current path
move line curve close pathforall - enumerate current path
- initclip - set clip path to device default
- clip - establish new clipping path
- eoclip - clip using even-odd inside rule