home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / 2ddraw / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.5 KB  |  93 lines

  1. **********************************************************************
  2. * DISCLAIMER OF WARRANTIES:                                          *
  3. *                                                                    *
  4. * The following enclosed code is sample code created by IBM          *
  5. * Corporation.  This sample code is not part of any standard IBM     *
  6. * product and is provided to you solely for the purpose of assisting *
  7. * you in the development of your applications.  The code is provided *
  8. * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9. * for any damages arising out of your use of the sample code, even   *
  10. * if they have been advised of the possibility of such damages       *
  11. *                                                                    *
  12. **********************************************************************
  13.  
  14. 2D Graphics Sample
  15.  
  16.   DESCRIPTION:
  17.     The 2D Graphics Sample is a graphics
  18.     drawing tool.  The tool draws lines, free
  19.     hand, rectangles, ellipses, polylines,
  20.     polygons, arcs, pies, chords, text, and
  21.     bitmaps.  In addition, it demonstrates
  22.     various background colors, pen colors, fill
  23.     colors, pen patterns, fill patterns, pen
  24.     types, pen widths, fonts, and drawing
  25.     operations such as fill and frame.  Classes
  26.     used include IGLine, IGRectangle, IGEllipse,
  27.     IGPolyline, IGPolygon, IGArc, IGPie, IGChord,
  28.     IGString, IGBitmap, IGraphicBundle,
  29.     IGraphicGContext, IColor, IGList,
  30.     IFontDialog, IFileDialog, IResizeHandler,
  31.     IFlyOverHelpHandler, and IToolBar.
  32.  
  33.   CONCEPT/FEATURE:
  34.     Sample program for demonstrating drawing
  35.     a bitmap with 2d graphics.
  36.  
  37.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  38.     From within the directory containing the sample, simply type:
  39.          NMAKE
  40.  
  41.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  42.     Refer to the standard Workframe BUILD instructions
  43.  
  44.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  45.     From within the directory containing the sample, simply type
  46.     the name of the executable:
  47.          2DDRAW
  48.  
  49.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  50.     Refer to the standard Workframe RUN instructions
  51.  
  52.   SPECIAL NOTES:
  53.     If the sample fails to execute or
  54.     abnormally ends, you can get
  55.     more information about the failure
  56.     by turning on the ICLUI trace.
  57.     This is done by setting the
  58.     environment variable ICLUI_TRACE
  59.     as follows:
  60.  
  61.         set ICLUI_TRACE=ON
  62.         set ICLUI_TRACETO=STDERR
  63.  
  64.     ICLUI_TRACETO controls where
  65.     the trace information is reported.
  66.     With tracing turned on, ICLUI
  67.     exception text will be written to a
  68.     standard error file. For example:
  69.  
  70.         sample >sample.out 2>&1
  71.  
  72.     The exception data is now in the file
  73.     'sample.out'.
  74.  
  75.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  76.     Windows 95 and Windows 3.x use a 16-bit graphics engine.
  77.     If drawing an IG3PointArc with the 3 points approaching colinear,
  78.     the bounding rectangle will be too large for the 16-bit
  79.     rectangle.  Consequently, an application exception may occur.
  80.     Windows NT has a 32-bit graphics engine and doesn't exhibit
  81.     this behavior.
  82.  
  83.  
  84.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  85.     A complete listing of samples shipped with the VisualAge for C++
  86.     product can be found in the online GUIDE TO SAMPLES.  To access
  87.     this notebook, simply:
  88.  
  89.     -  Open the VISUALAGE FOR C++ program group in the Program
  90.        Manager window, then
  91.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  92.  
  93.