XmeDrawPolygonShadow — Draws a Motif-style, three-dimensional shadow around a polygon
#include <Xm/DrawP.h>
void XmeDrawPolygonShadow
(display, drawable, top_gc, bottom_gc, points, point_count, shadow_thickness, shadow_type);XmeDrawPolygonShadow places a Motif-style shadow around a drawn polygon or around a polygon-shaped widget.
display | Specifies the display on which drawable is rendered. | |||||||||||||
drawable | Specifies the drawable (typically, a widget window) around which the shadow will be drawn. | |||||||||||||
top_gc | Specifies the graphics context for the shadows appearing on the upper-left portions of the polygon. | |||||||||||||
bottom_gc | Specifies the graphics context for the shadows appearing on the bottom-right portions of the polygon. | |||||||||||||
points | Specifies the coordinates of each point in the bounding polygon. | |||||||||||||
point_count | Specifies the number of points in the bounding polygon. | |||||||||||||
shadow_thickness | Specifies the shadow thickness, in pixels. | |||||||||||||
shadow_type | Specifies the kind of shadow to render. The possible values are as follows:
|