in reply to Draw a line
%! %% Example of simple line drawing /inch {72 mul} def % Define an inch->point conversion function newpath % Start a new path 1 inch 1 inch moveto % Set the current point an inch in and up 2 inch 1 inch lineto % Create an inch long line segment to the righ +t stroke % Draw the line showpage % Paint and eject the page
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Draw a line
by mawe (Hermit) on Jun 03, 2004 at 16:33 UTC |