Simple drawing
-
newpath()
-
moveto(x,y)
moveto([x,y])
moveto(P)
-
lineto(x,y)
-
stroke(c)
-
fill(c)
-
box(w, h)
-
box(x, y, w, h)
-
bbox(llx, lly, urx, ury)
Simple coordinate changes
-
translate(x,y)
-
center()
-
scale(s)
-
scale(s, t)
-
rotate(a)
rotate(P, a)
-
atransform(t)
Squares and ...
|
|