ps_lineto Draws a line &reftitle.description; boolps_lineto resourcepsdoc floatx floaty Adds a straight line from the current point to the given coordinates to the current path. Use ps_moveto to set the starting point of the line. &reftitle.parameters; psdoc Resource identifier of the postscript file as returned by ps_new. x x-coordinate of the end point of the line. y y-coordinate of the end point of the line. &reftitle.returnvalues; &return.success; &reftitle.examples; Drawing a rectangle ]]> &reftitle.seealso; ps_moveto