home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / SLPat.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  956 b   |  42 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLPat.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLPAT_H
  11. #define SLPAT_H
  12.  
  13. #ifndef SLGRDEF_H
  14. #include "SLGrDef.h"
  15. #endif
  16.  
  17. //========================================================================================
  18. // Types
  19. //========================================================================================
  20.  
  21. union FW_BitPattern
  22.     unsigned char fData[8];
  23.     unsigned long fDataLongs[2];
  24. };
  25.  
  26. union FW_PixelPattern
  27. {
  28.     unsigned char fData[8][8];
  29.     unsigned char fDataRaw[8 * 8];
  30.     unsigned long fDataLongs[8][2];
  31. };
  32.  
  33. #ifdef FW_BUILD_MAC
  34. typedef PixPatHandle    FW_PlatformColorPattern;
  35. #endif
  36. #ifdef FW_BUILD_WIN
  37. typedef FW_WinDIB        FW_PlatformColorPattern;
  38. #endif
  39.  
  40. #endif // SLPAT_H
  41.