#set TITLE = "proc bevelrect"
#include top

.SH DESCRIPTION
\fBproc bevelrect\fR may be used to produce a 
bevelled rectangle, useful for making PNG or GIF buttons, etc.
May also be used to do a rectangle with a drop shadow.

.SH EXAMPLE
Gallery 
.ig >>
<a href="../gallery/button.htm">
.>>
button 
.ig >>
</a>
.>>

.SH MANDATORY ATTRIBUTES
.LP
\fBrectangle\fR \fIx1 y1 x2 y2\fR
.IP
Specify the rectangle.  Bevel will be exclusive of this area.
X1, y1 is lower left; x2, y2 is upper right.
Values are assumed to be in absolute
space unless followed immediately by \fC(s)\fR which indicates
scaled space.  
.ig >>
See 
<a href="attributetypes.html#positionunits">
.>>
Postition units
.ig >>
</a>
.>>
 .

.SH OPTIONAL ATTRIBUTES
.LP
\fBcolor\fR 
.ig >>
<a href="color.html">
.>>
\fI color \fR
.ig >>
</a>
.>>
.IP
Rectangle to be filled with this color.

.LP
\fBbevelsize\fR \fIn\fR
.IP
Width of bevel area, in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
absolute units
.ig >>
</a>
.>>
 .  Default is 0.1 inches.
A bevel will be produced by default; to supress, specify bevel size
of 0.0.

.LP
\fBshadowsize\fR \fIn\fR
.IP
Width of any shadow area in absolute units.  Default is 0.1 inches.
If not specified, no drop shadow will be produced.

.LP
\fBhibevelcolor\fR 
.ig >>
<a href="color.html">
.>>
\fI color \fR
.ig >>
</a>
.>>
.IP
Color of upper and lefttmost bevels.  Default is gray(0.6).

.LP
\fBlowbevelcolor\fR 
.ig >>
<a href="color.html">
.>>
\fI color \fR
.ig >>
</a>
.>>
.IP
Color of lower and rightmost bevels.  Default is gray(0.8).

.LP
\fBshadowcolor\fR 
.ig >>
<a href="color.html">
.>>
\fI color \fR
.ig >>
</a>
.>>
.IP
Color of drop shadow.  

#include bottom
