Introduction

The PostScript programming language is designed to describe the layout of graphics and text on the printed page. This website provides online utilities that show examples in actual practice.

8.05.2009

LINETO

postscript postscript_lineto

Operator: X Y lineto

This operator adds a line into the path. The line is from the current point to the point X Y. After the line is added to the path, the current point is set to X Y.

Example:

postscript_lineto

    %!
    newpath
    72 360 moveto
    216 360 lineto
    stroke
    showpage
    

postscript postscript_lineto