home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / powerd / modules / devices / prtgfx.m < prev    next >
Encoding:
Text File  |  1999-06-23  |  989 b   |  57 lines

  1. MODULE    'graphics/rastport'
  2.  
  3. CONST    PCMYELLOW=0,
  4.         PCMMAGENTA=1,
  5.         PCMCYAN=2,
  6.         PCMBLACK=3,
  7.         PCMBLUE=0,
  8.         PCMGREEN=1,
  9.         PCMRED=2,
  10.         PCMWHITE=3
  11.  
  12. OBJECT ColorEntry
  13.     ColorLong:LONG,
  14.     ColorByte[4]:UBYTE,
  15.     ColorsByte[4]:BYTE
  16.  
  17. OBJECT prtinfo
  18.     Render:LONG,
  19.     RP:PTR TO RastPort,
  20.     TempRp:PTR TO RastPort,
  21.     RowBuf:PTR TO UWORD,
  22.     HamBuf:PTR TO UWORD,
  23.     ColorMap:PTR TO ColorEntry,
  24.     ColorInt:PTR TO ColorEntry,
  25.     HamInt:PTR TO ColorEntry,
  26.     Dest1Int:PTR TO ColorEntry,
  27.     Dest2Int:PTR TO ColorEntry,
  28.     ScaleX:PTR TO UWORD,
  29.     ScaleXAlt:PTR TO UWORD,
  30.     DMatrix:PTR TO CHAR,
  31.     TopBuf:PTR TO UWORD,
  32.     BotBuf:PTR TO UWORD,
  33.     RowBufSize:UWORD,
  34.     HamBufSize:UWORD,
  35.     ColorMapSize:UWORD,
  36.     ColorIntSize:UWORD,
  37.     HamIntSize:UWORD,
  38.     Dest1IntSize:UWORD,
  39.     Dest2IntSize:UWORD,
  40.     ScaleXSize:UWORD,
  41.     ScaleXAltSize:UWORD,
  42.     PrefsFlags:UWORD,
  43.     Special:LONG,
  44.     XStart:UWORD,
  45.     YStart:UWORD,
  46.     Width:UWORD,
  47.     Height:UWORD,
  48.     Pc:LONG,
  49.     Pr:LONG,
  50.     Ymult:UWORD,
  51.     Ymod:UWORD,
  52.     EtY:INT,
  53.     XPos:UWORD,
  54.     Threshold:UWORD,
  55.     TempWidth:UWORD,
  56.     Flags:UWORD
  57.