XmeDrawPolygonShadow(3X)

XmeDrawPolygonShadow - Draws a Motif-style, three- dimensional shadow around a polygon

As shipped in IRIX 6.5.22. Added in IRIX 6.5.5.

     NAME
          XmeDrawPolygonShadow - Draws a Motif-style, three-
          dimensional shadow around a polygon

     SYNOPSIS
          #include <Xm/DrawP.h>
          void XmeDrawPolygonShadow(
          Display *display,
          Drawable drawable,
          GC top_gc,
          GC bottom_gc,
          XPoint *points,
          int point_count,
          Dimension shadow_thickness,
          unsigned char shadow_type);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          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:

                    XmSHADOW_IN
                              Draws a shadow so that it appears inset.
                              This means that the bottom shadow
                              visuals and top shadow visuals are
                              reversed.

                    XmSHADOW_OUT
                              Draws a shadow so that it appears
                              outset.

                    XmSHADOW_ETCHED_IN
                              Draws 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
                              shadow_thick.

                    XmSHADOW_ETCHED_OUT
                              Draws 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
                              shadow_thick.

     RELATED
          XmeDrawShadows(3).