[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_SHADOW()
 Draw a non-destructive shadow on the screen
------------------------------------------------------------------------------

 Syntax

     FT_SHADOW( <nTop>, <nLeft>, <nBottom>, <nRight>, <nAttr> ) -> NIL

 Arguments

    <nTop>    is the top row of the shadow area.
    <nLeft>   is the upper left column of the shadow area.
    <nBottom> is the bottom row of the shadow area.
    <nRight>  is the lower right column of the shadow area.
    <nAttr>   is the screen attribute to use for drawing the shadow.

 Returns

    NIL

 Description

    This function allows you to implement the popular "shadow effect."  It
    draws a shadow using the specified screen coordinates.  The entire
    specified region is shadowed.

    *** INTERNALS ALERT ***  This function uses several Clipper internal
    routines.  If using internals scares you, then stay away from this
    function, you gutless weasel.  The use of the internals helps to make
    the function more well-behaved.  Clipper's display context is not
    violated -- if you use dispbegin() before drawing the shadow, it will
    not appear until the corresponding call to dispend().  This makes for
    much smoother screen i/o if you have several screen objects that
    you wish to shadow.

    The source code is written to TASM IDEAL mode.

 Examples

    FT_Shadow(10,10,10,50, 8)  // draw a dim shadow

    FT_Shadow(10,10,10,40,47)  // draw a green shadow

 Source: SHADOW.ASM

 Author: Ted Means

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson