home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Sample Controls / Label / rotate.h < prev   
Encoding:
Text File  |  1996-12-20  |  755 b   |  18 lines  |  [TEXT/CWIE]

  1. // Prototypes:
  2. #include <types.h>
  3. #include <Quickdraw.h>
  4. #include <QDOffscreen.h>
  5.  
  6. QDErr rotate(const PixMapHandle inputPixMap, short h, short w, double ang, RGBColor bkGndColor, GWorldPtr &outputGWorld);
  7.  
  8. void skew(unsigned char * src, int len, int nlen, double start, RGBColor bkGndColor, Boolean row, short srcRowBytes, short dstRowBytes, unsigned char * dst);
  9.  
  10. Ptr GetPixelAddr(const PixMapHandle thePixMap, const short thePixelRow, const short thePixelColumn, short &bitOffset);
  11.  
  12. short GetRowBytes(const PixMapHandle thePixMap);    // mask off top to flag bits
  13.  
  14. void EraseGWorld(const GWorldPtr theGWorld, const RGBColor theColor);
  15.  
  16. #if _DEBUG
  17. Boolean IsAddrInPixMap(unsigned char* theAddr, unsigned char* baseAddr, short rowBytes, short height);
  18. #endif