home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / gle / gle / core.h < prev    next >
C/C++ Source or Header  |  1992-11-29  |  649b  |  36 lines

  1. #include "rgb.h"
  2.  
  3.     struct gmodel {
  4.         double image[3][3];
  5.         double fontn,fontsz;    /* up to here for font cacheing*/
  6.         colortyp color,fill;
  7.         double lwidth,lstyled,curx,cury;
  8.         double endx,endy;
  9.         double miterlimit;
  10.         int lcap,ljoin;
  11.         int just,xinline,inpath,npath; /* up to here for STATE */
  12.         char lstyle [9];
  13.     /* 18*8, 6*int, 2*long */
  14.  
  15.         double xmin,xmax,ymin,ymax;    /* bounds in USER coordinates */
  16.         double startx,starty;
  17.         double closex,closey;    /* for closepath */
  18.         double userwidth,userheight; /* The user req size */
  19.         double devwidth,devheight;
  20.     } ;
  21.  
  22. #define SIZEOFSTATE (18*sizeof(double) + 6*sizeof(int) + 2*sizeof(long) + 9)
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.