**********************************************************************
* DISCLAIMER OF WARRANTIES:                                          *
*                                                                    *
* The following enclosed code is sample code created by IBM          *
* Corporation.  This sample code is not part of any standard IBM     *
* product and is provided to you solely for the purpose of assisting *
* you in the development of your applications.  The code is provided *
* "AS IS", without warranty of any kind.  IBM shall not be liable    *
* for any damages arising out of your use of the sample code, even   *
* if they have been advised of the possibility of such damages       *
*                                                                    *
**********************************************************************

2D Graphics Sample

  DESCRIPTION:
    The 2D Graphics Sample is a graphics
    drawing tool.  The tool draws lines, free
    hand, rectangles, ellipses, polylines,
    polygons, arcs, pies, chords, text, and
    bitmaps.  In addition, it demonstrates
    various background colors, pen colors, fill
    colors, pen patterns, fill patterns, pen
    types, pen widths, fonts, and drawing
    operations such as fill and frame.  Classes
    used include IGLine, IGRectangle, IGEllipse,
    IGPolyline, IGPolygon, IGArc, IGPie, IGChord,
    IGString, IGBitmap, IGraphicBundle,
    IGraphicGContext, IColor, IGList,
    IFontDialog, IFileDialog, IResizeHandler,
    IFlyOverHelpHandler, and IToolBar.

  CONCEPT/FEATURE:
    Sample program for demonstrating drawing
    a bitmap with 2d graphics.

  HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
    From within the directory containing the sample, simply type:
         NMAKE

  HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
    Refer to the standard Workframe BUILD instructions

  HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
    From within the directory containing the sample, simply type
    the name of the executable:
         2DDRAW

  HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
    Refer to the standard Workframe RUN instructions

  SPECIAL NOTES:
    If the sample fails to execute or
    abnormally ends, you can get
    more information about the failure
    by turning on the ICLUI trace.
    This is done by setting the
    environment variable ICLUI_TRACE
    as follows:

        set ICLUI_TRACE=ON
        set ICLUI_TRACETO=STDERR

    ICLUI_TRACETO controls where
    the trace information is reported.
    With tracing turned on, ICLUI
    exception text will be written to a
    standard error file. For example:

        sample >sample.out 2>&1

    The exception data is now in the file
    'sample.out'.

  ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
    Windows 95 and Windows 3.x use a 16-bit graphics engine.
    If drawing an IG3PointArc with the 3 points approaching colinear,
    the bounding rectangle will be too large for the 16-bit
    rectangle.  Consequently, an application exception may occur.
    Windows NT has a 32-bit graphics engine and doesn't exhibit
    this behavior.


  VISUALAGE FOR C++ SAMPLES INFORMATION:
    A complete listing of samples shipped with the VisualAge for C++
    product can be found in the online GUIDE TO SAMPLES.  To access
    this notebook, simply:

    -  Open the VISUALAGE FOR C++ program group in the Program
       Manager window, then
    -  Open the GUIDE TO SAMPLES notebook in the program group.

