XmeDrawShadows — Draws a Motif-style, three-dimensional shadow around a widget
#include <Xm/DrawP.h>
void XmeDrawShadows
(display, drawable, top_gc, bottom_gc, x, y, width, height, shadow_thickness, shadow_type);XmeDrawShadows places a three-dimensional, Motif-style shadow around a widget. This shadow is one of the fundamental visuals that gives Motif widgets their characteristic look and feel.
display | Specifies the display. | |||||||||||||
drawable | Specifies the drawable to draw the shadow around. | |||||||||||||
top_gc | Specifies the graphics context for the upper-left portion of the shadow. | |||||||||||||
bottom_gc | Specifies the graphics context for the bottom-right portion of the shadow. | |||||||||||||
x | Specifies the x-coordinate of the leftmost point of the shadow. | |||||||||||||
y | Specifies the y-coordinate of the top of the shadow. | |||||||||||||
width | Specifies the width of the shadow rectangle, in pixels. | |||||||||||||
height | Specifies the height of the shadow rectangle, in pixels. | |||||||||||||
shadow_thickness | Specifies the shadow thickness in pixels. The shadow is drawn from the outside in. The dimensions of the outside of the shadow are described by x, yx, width, and height. | |||||||||||||
shadow_type | Specifies the kind of shadow to render. The possible values are as follows:
|