plbox

plot a rectangle with rounded corners

parametertypeunitsdescription
x1,y1floatuuposition of a corner of the box
x2,y2floatuuposition of the opposite corner
rfloatmmradius of the rounded corner
returns:void

Description

plbox plots a rectangle with rounded corners, radius r. x,y in user units, radius in millimeters

Examples

plinit PS plbox A4 15 15 H H
plset HEIGHT 5
plu 40 15 plformat 0 0 "Box in a Rectangle"
plrect 0 0 80 30
plbox 1 1 79 29 3

plbox

See also

simplot program