[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif 2.1 Widget Writer's Guide
XmeDrawCircle
Draws a Motif-style, three-dimensional circle
Format
#include <Xm/DrawP.h>
void XmeDrawCircleDisplay
*displayDrawable drawableGC
top_gcGC bottom_gcGC
center_gcPosition xPosition
yDimension widthDimension
heightDimension
shadow_thicknessDimension
margin
DESCRIPTION
XmeDrawCircle draws a Motif-style circle and the shadows around it. You
specify the position of the circle by describing a bounding rectangle. The
bounding rectangle encompasses not only the circle, but its shadows as well.
You may optionally specify a margin between the circle and its shadows.
displaySpecifies the display on which the circle is to be rendered.
drawableSpecifies the drawable in which the circle is to be rendered.
top_gcSpecifies the graphics context of the circle's top shadow.
bottom_gcSpecifies the graphics context of the circle's bottom shadow.
center_gcSpecifes the graphics context of the circle itself. If you specify
NULL, the circle will not be drawn, but the shadow will still be
drawn.
xSpecifies the leftmost point of the bounding rectangle.
ySpecifies the top point of the bounding rectangle.
widthSpecifies the width of the bounding rectangle.
heightSpecifies the height of the bounding rectangle.
shadow_thicknessSpecifies the thickness, in pixels, of the shadow surrounding the circle.
marginSpecifies the gap, in pixels, between the circle and its shadow. Without
this margin, the boundary between a circle and its shadow may appear somewhat
ragged on a monochrome screen.
RELATED
XmeDrawArrow(3), XmeDrawDiamond(3),
XmeDrawIndicator(3), and XmeDrawSeparator(3)
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]