Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmeDrawShadows(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmeDrawShadows(3X)        UNIX System V        XmeDrawShadows(3X)



     NAME
          XmeDrawShadows - Draws a Motif-style, three-dimensional
          shadow around a widget

     SYNOPSIS
          #include <Xm/DrawP.h>
          void XmeDrawShadows(
          Display *display,
          Drawable drawable,
          GC topgc,
          GC bottomgc,
          Position x,
          Position y,
          Dimension width,
          Dimension height,
          Dimension shadowthickness,
          unsigned char shadowtype);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          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



     Page 1                                          (printed 1/22/99)





     XmeDrawShadows(3X)        UNIX System V        XmeDrawShadows(3X)



                    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:

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

                    XmSHADOWOUT
                              Draws shadow so that it appears outset.

                    XmSHADOWETCHEDIN
                              Draws shadow by using a double line to
                              give the effect of a line etched into
                              the window. The thickness of the double
                              line is equal to the value of
                              shadow_thickness.

                    XmSHADOWETCHEDOUT
                              Draws shadow 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_thickness.

     RELATED
          XmeDrawPolygonShadow(3).























     Page 2                                          (printed 1/22/99)



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