This site’s design is only visible in a graphical browser that supports web standards but its content is accessible to any browser or Internet device.

RedGrittyBrick

Circular Arc

Image

ellipse

The width of the line varies.

Postscript

30 rotate
1 0.5 scale
0 0 2.8 inch 0 360 arc
0 0.7 0 setrgbcolor
16 setlinewidth
stroke
download

With save & set matrix

Image

ellipse

The width of the line no longer varies.

Postscript code

1 0 0 setrgbcolor
4 inch 8 inch translate
30 rotate
0 0 2.8 inch 1.4 inch 0 360 ellipse
16 setlinewidth
stroke

Postscript function

/ellipse {
/endangle exch def
/startangle exch def
/yrad exch def
/xrad exch def
/y exch def
/x exch def
/savematrix matrix currentmatrix def
x y translate
xrad yrad scale
0 0 1 startangle endangle arc
savematrix setmatrix
} def
download