home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / classes / datatypes / pictureclassext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-16  |  2.2 KB  |  48 lines

  1. #include <datatypes/datatypesclass.h>
  2.  
  3. #define    DTM_WRITEPIXELARRAY    (DTM_Dummy+0x60)    /*Datatypesclass.h*/
  4. #define    DTM_READPIXELARRAY    (DTM_Dummy+0x61)    /*Datatypesclass.h*/
  5. #define    DTM_CREATEPIXMAPDIR    (DTM_Dummy+0x62)    /*Datatypesclass.h*/
  6. #define    DTM_FIRSTPIXMAPDIR    (DTM_Dummy+0x63)    /*Datatypesclass.h*/
  7. #define    DTM_NEXTPIXMAPDIR    (DTM_Dummy+0x64)    /*Datatypesclass.h*/
  8. #define    DTM_PREVPIXMAPDIR    (DTM_Dummy+0x65)    /*Datatypesclass.h*/
  9. #define    DTM_BESTPIXMAPDIR    (DTM_Dummy+0x66)    /*Datatypesclass.h*/
  10.  
  11. /* DTM_BLITPIXELARRAY    */
  12. struct gpBlitPixelArray
  13. {
  14.     ULONG        MethodID;        /* DTM_BLITPIXELARRAY id */
  15.     UBYTE        *PixelArray;        /* Source PixelArray */
  16.     ULONG        PixelArrayMode;        /* Format Mode of the Source PixelArray..see cybergraphics.h */
  17.     ULONG        PixelArrayMod;        /* Bytes to add to the next line in the Source PixelArray */
  18.     ULONG        LeftEdge;        /* XStart of the Dest */
  19.     ULONG        TopEdge;        /* YStart of the Dest */
  20.     ULONG        Width;            /* Width of the Source PixelArray */
  21.     ULONG        Height;            /* Height of the Source PixelArray */
  22. };
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. #define    PDTA_SourceMode        (DTA_Dummy + 250)    /* Used to set the sub datatype interface */
  30. #define    PDTA_DestMode        (DTA_Dummy + 251)    /* Used to set the app datatype interface */
  31. #define    PDTA_PixelFormat    (DTA_Dummy + 252)    /* private..DON'T touch */
  32. #define    PDTA_TransRemapPen    (DTA_Dummy + 253)    /* Optional transparent remap pen */
  33. #define    PDTA_NumPixMapDir    (DTA_Dummy + 254)    /* Count of the Object's PixMapDirs..default=1 */
  34. #define PDTA_UseFriendBitMap    (DTA_Dummy + 255)    /* Converts the result bitmap into a friendbitmap */
  35. #define PDTA_AlphaChannel    (DTA_Dummy + 256)    /* Alphachannel input */
  36. #define PDTA_MultiRemap        (DTA_Dummy + 257)    /* Tells the picture.datatype NOT to keep control */
  37.                                                         /* over DestBitmap and Pens...these are now*/
  38.                                                         /* controlled by the appliction. TM mode*/
  39. #define    PDTA_MaskPlane        (DTA_Dummy + 258)    /* NULL or MaskPlane for BltMaskBitMapRastPort() */
  40.                                                         /* This mask is generated when the transparent flag is set*/
  41.                                                         /* or an Alphachannel exists */
  42.  
  43. /* PDTA_SourceMode,PDTA_DestMode */
  44. #define    MODE_V42        0
  45. #define    MODE_V43        1
  46.  
  47.  
  48.