[ Previous |
Motif 2.1 Widget Writer's Guide
Draws a Motif-style, three-dimensional shadow around a polygon
XmeDrawPolygonShadow places a Motif-style shadow around a drawn polygon or
around a polygon-shaped widget.
displaySpecifies the display on which drawable is rendered.
drawableSpecifies the drawable (typically, a widget window) around which the
shadow will be drawn.
top_gcSpecifies the graphics context for the shadows appearing on the upper-left
portions of the polygon.
bottom_gcSpecifies the graphics context for the shadows appearing on the
bottom-right portions of the polygon.
pointsSpecifies the coordinates of each point in the bounding polygon.
point_countSpecifies the number of points in the bounding polygon.
shadow_thicknessSpecifies the shadow thickness, in pixels.
shadow_typeSpecifies the kind of shadow to render. The possible values are as
XmSHADOW_INDraws a shadow so that it appears inset. This means that the bottom shadow
visuals and top shadow visuals are reversed.
XmSHADOW_OUTDraws a shadow so that it appears outset.
XmSHADOW_ETCHED_INDraws a shadow using a double line giving the effect of a line etched into
the window. The thickness of the double line is equal to the value of
XmSHADOW_ETCHED_OUTDraws a frame by using a double line to give the effect of a line coming
out of the window. The thickness of the double line is equal to the value of
[ Previous |