Low level functionnalities : elementary drawing commands ( continued )
Basic drawing commands
M or m :
moveto
: x,y
starts a new sub path
Z or z :
closepath
:
close a sub path by drawing a straight line between the current point and the last
moveto
lineto
L or l :
lineto
: x , y
draw a straight line between the current point and the point ( x,y )
H or h :
horizontal lineto
: x
draw a horizontal line between the current point and the point ( x,y0 )
V or v :
vertical lineto
: y
draw a vertical line between the current point and the point ( x0,y )
Didier Courtaud
The SVG language
Novembre 2001
29 / 74