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.

7.28.2009

ARC

postscript postscript_arc

Operator: X Y r ang1 ang2 arc

The arc operator draws an arc of some number of degrees, with a given radius and center. The arc is generated by sweeping a line segment of length r, and tied at the point X Y, in a counter-clockwise direction from an angle ang1 to an angle ang2.

Example:

postscript

    %!
    newpath
    150 500 100 0 270 arc
    15 setlinewidth
    stroke
    showpage
    

postscript postscript_arc