home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / Sideways / MSBitMapLib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-22  |  523 b   |  32 lines  |  [TEXT/KAHL]

  1. #ifndef __MSBitMapLib__
  2. #define __MSBitMapLib__
  3.  
  4. #include <QuickDraw.h>
  5.  
  6. #define MSStr255    unsigned char *
  7.             
  8. void MSEraseBitMap (
  9.     BitMap *theBitMap);
  10. BitMap *MSNewBitMap (
  11.     short *bitsWide,
  12.     short  *bitsHigh);
  13. int MSGoodBitMap (
  14.     BitMap theBitMap);
  15. int MSBitIsSet (
  16.     short     x, 
  17.     short     y,
  18.     BitMap    *theBitMap);
  19. void MSSetTheBit (
  20.     short     x, 
  21.     short     y,
  22.     BitMap    *theBitMap);
  23. void MSClearTheBit (
  24.     short     x, 
  25.     short    y,
  26.     BitMap    *theBitMap);
  27. void MSDrawRotatedText (
  28.     short     xPixel,
  29.     short        yPixel, 
  30.     Str255    theText);
  31.     
  32. #endif