Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmeDrawPolygonShadow(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmeDrawPolygonShadow(3X)  UNIX System V  XmeDrawPolygonShadow(3X)



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

     SYNOPSIS
          #include <Xm/DrawP.h>
          void XmeDrawPolygonShadow(
          Display *display,
          Drawable drawable,
          GC topgc,
          GC bottomgc,
          XPoint *points,
          int pointcount,
          Dimension shadowthickness,
          unsigned char shadowtype);

     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:

                    XmSHADOWIN



     Page 1                                          (printed 1/22/99)





     XmeDrawPolygonShadow(3X)  UNIX System V  XmeDrawPolygonShadow(3X)



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

                    XmSHADOWOUT
                              Draws a shadow so that it appears
                              outset.

                    XmSHADOWETCHEDIN
                              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.

                    XmSHADOWETCHEDOUT
                              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).






























     Page 2                                          (printed 1/22/99)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026