

 ____________________________________________________________________________	
	
                         THE ZGRAF C++ GRAPHING TOOLKIT  
                          
           Business/Technical Graphs for MS-Windows and Windows NT
	
	            C++ VERSION -- Available 1 March 1994
 ____________________________________________________________________________	

		    

   SOFTWARE DEVELOPERS:
	
      Do you have a need  to  generate  business,  math,  or  scientific 
      graphs in the MS-Windows/Windows NT environment?  If so, the ZGRAF 
      graph  toolkit  may be just what you need to dazzle your customers 
      with a bit of graphics flash!

      If you haven't done so already, take a minute or two to run one of 
      the demo programs, to get an idea of some of the graph styles that 
      can be created.
	
		

   HIGHLIGHTS/FEATURES OF THE ZGRAF GRAPH TOOLKIT 
   ______________________________________________
    

	    
   - COMPLETE

      The  ZGRAF  toolkit contains a wide assortment of graph styles for 
      both MS-Windows 3.X and Windows NT.  Basic graph styles  available 
      include Bar, Pie, Area, Logarithmic, Polar, X/Y, 2-D Function, and 
      3-D  Surface  graphs.   Using  different  features  of these basic 
      styles, many more graph types are possible...




   - INEXPENSIVE  

      The  ZGRAF graph toolkit sells for $30, for the Personal Developer 
      version, or $45 for the Commercial Developer Version. 
      
      
      NOTES:  
	 
         The Personal and Commercial Developer Versions both include the 
         full  toolkit  functionality,  for   development   under   both 
         MS-Windows 3.X and Windows NT.   
            
         The  Commercial  Developer differs from the Personal Version in 
         that  it  provides   professional   developers   an   UNLIMITED 
         DISTRIBUTION  LICENSE  WITH  NO  ROYALTIES.  It also includes a 
         Windows Dynamic-Link-Library version of the  toolkit  [for  use 
         with  MS-Windows  3.X  only].   The DLL may be used with Visual 
         Basic and other "non C-like" languages to  access  the  toolkit 
         functions...
	   



____________________________________________________________________________

	
            
	
   - FULL SOURCE-CODE INCLUDED
    
      As  a  developer, you know that the availability of source-code is 
      important.
	
      When you order  the  ZGRAF  toolkit,  you  get  the  COMPLETE  C++ 
      source-code  to  all  the  graph  functions.   You  also  get  the 
      source-code to the demo programs featured in this package.
	    
      The  toolkit  has  been designed to exploit the power of C++.  All 
      graphs share a basic "look and feel", and inherit common features.  
      Experienced C++ programmers will appreciate the ease in which  new 
      graphs  can  be  created,  by  "inheriting"  the  functionality of 
      existing objects and by extending the graph classes.
		 
      Should you want to modify the source-code to the graph library for 
      any reason, you'll  find  the  code  easy  to  follow,  and  well- 
      documented.    
	   
         
        NOTE:  The ZGRAF Toolkit was tested using the following compilers:
         
            MS-Windows:  Borland C++ version 3.1 and Microsoft Visual C++, 
                         ver. 1.0.  
                         
            Windows NT:  Microsoft CL386 32-bit Compiler, ver. 8.0.

            
      The  code  was  designed with portability in mind.  It should work 
      fine with other Windows C++ compilers, and should port  easily  to 
      future versions of MS-Windows and Windows NT.
	    



   - SATISFACTION GUARANTEED
    
      If  you  are not 100% satisfied with the ZGRAF graph toolkit, just 
      return it within 30 days for a full refund. 
					
	
	
	
    SPECIFICATIONS
    --------------
    
	
         Requirements:   
        
            A C++ compiler providing access to the Windows API  and  GDI 
            functions   is   required.    An   appropriate   development 
            environment  (MS-Windows and/or Windows NT) is also assumed. 
            Some knowledge of basic  Windows  programming  concepts  and 
            C/C++  is  needed,  but  the examples are adequate to assist 
            even the novice Windows programmer. 






____________________________________________________________________________

	

	 Graph Options:
	
              Bar, 
	      Pie, 
	      Area: Up to 10 Data Groups of Data.  Unlimited Number of
		    Data Points.  Solid or Hatch Fills. 
		    2-D or 3-D Styles (on Bar, Pie graphs).
			
	      Log:  Three  Separate  styles are  available:  Log-X/Log-Y, 
		    Linear-X/Log-Y, Linear-Y/Log-X.  Connecting-lines on/
		    off.
		    
	    Polar:  Input Data in either Rectangular (x,y) or Polar  (r, 
		    theta) format.  Connecting-lines on/off. Grid on/off.

             F(X):  Graph grid on/off. Graph symbols on/off. Connecting-
	    	    lines on/off.  Auto- or Manual-scaling.	
	    
	     G-3D:  Wire-frame grid  on/off.    Low,  Medium,  and  High 
		    Accuracy  Drawing Modes.  Band-colorization  feature 
		    identifies six distinct z-axis regions by color.
		
      All Graphs:   Legends.   Main Graph  Title.  Selectable Background 
		    Color and Foreground  Colors (Axis, Border, and Plot 
		    Colors), Selectable  Fill Colors on  Pie,  Bar,  and 
		    Area  Graphs.  Selectable Line Colors on Others.  64 
		    Pre-defined colors available,  or  create your  own. 
		    Selectable  number  of  divisions  along graph axes.  
		    Precision of numbers  along axes can  be  specified.  
		    True-type fonts.  Graphs can be printed easily using
		    just a few function-calls...
	

			    
   SAMPLE ZGRAF TOOLKIT INTERFACE
   ------------------------------

      The basic  toolkit  functions  integrate  easily  into  the  basic 
      "Petzold"-style Windows programming model.
		
      Calls  to  the  graph functions are straighforward and simple: you 
      pass a single argument--the address of a structure containing  the 
      graph information to be utilized.
	
      Here's  the  code  to  create an X-Y graph onscreen (typically you 
      would want to process this code fragment as a  "WM_PAINT"  message 
      in your WndProc() function):
	
	
	    // WM_PAINT Code Fragment...
	    .
	    .
	    .
	    hdc = BeginPaint(hWnd, &ps);  // Regular Windows BeginPaint()
	    	    
	
	    
	    // Get Window Dimensions
	    
	    GetClientRect(hWnd, &R);		    	    
	    

____________________________________________________________________________

	
		    
	    // Set the Data to Appear in the Graph
	    
	    double x[4], y[4];		
	    int        sym[4];
	    
	    x[0] = y[0] = 1.0,    sym[0] = zTRIANGLE ;
	    x[1] = y[1] = 2.0,    sym[1] = zTRIANGLE ;

	    x[2] = y[2] = 5.0,    sym[2] = zINVERTED_TRIANGLE ;
	    x[3] = y[3] = 6.0,    sym[3] = zINVERTED_TRIANGLE ;

	    char *LegendTitles[] = 
	    {
	       "USA"    ,
	       "Canada" ,
	       NULL     ,
	    };


	    // Set Up a "zGraphStructure" Structure for the Graph...
	    
	    zGraphStruct zG;			// Basic Graph Data Structure
	    
	    zG.hdc          = hdc             ; // Windows HDC
	    zG.RWindow      = &R              ; // RECT with Window Dim.
	    zG.xdata        = x               ; // Pointer to X-Data Array
	    zG.ydata        = y               ; // Pointer to Y-Data Array
	    zG.symbols      = sym             ; // Pointer to Symbols Array
	    zG.n            = 4               ; // Number of Data Points
	    zG.axis_color   = RGB_color(zBRT_WHITE);  // Graph Axis 
	    zG.bkg_color    = RGB_color(zDARK_GREEN); //   and Bkg. Color
	    zG.H_Title      = "X"             ;  // Horizontal Axis Title
	    zG.V_Title      = "Y"             ;  // Vertical Axis Title
	    zG.LegendTitles = LegendTitles    ;  // The Legend Titles
	    zG.line_connect = ON              ;  // Line-Connection On
	    zG.symbols_flag = ON              ;  // Do Display Symbols
	    zG.grid_flag    = ON              ;  // Turn Grid Display ON
	    zG.auto_scale   = ON              ;  // Use Automatic Scaling
	    zG.x_axis_style = zLINEAR         ;  // Use Linear X- and Y-Axis 
	    zG.y_axis_style = zLINEAR         ;  //   Scaling Style
	    

            // Make the Graph...
	    	    
	    XYGraph( &zG );


	    // That's It!
	    
	    EndPaint( hWnd, &ps);
	    return;
	    .
	    .
	    .
	
	






____________________________________________________________________________	
	
		

   ORDERING INFORMATION
   --------------------
			
	
      To order the ZGRAF graph toolkit, send your check or money order for 
      the appropriate amount [U.S. currency] to the address listed below.  
	
	
	   ____ $30 US (Personal Developer Version)
	   
	   ____ $45 US (Commercial Developer Version)
	   
           
	   
	   ____ Shipping ($2.50 USA / $3.50 overseas)
	
	
	
      ZGRAF Software
      1831 Old Hickory Court
      New Albany, IN 47150
	    
	    
      Phone      :  (812) 949-9524 
      ZGRAF BBS  :  (812) 949-0416  [1200/2400 baud, 8/1/No Parity]
      Compuserve :  70742,1356


      Regretfully, we are unable to accept Mastercard/VISA at this time, 
      but  hope  to  be able to offer customers this service in the near 
      future.	
        
      Thank you for taking the time to try our product.
        
