home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Pascal / MAXONPASCAL2.DMS / in.adf / INCLUDE / devices / prtgfx.h < prev    next >
Encoding:
Text File  |  1994-07-25  |  1.8 KB  |  72 lines

  1. {$if not def DEVICES_PRTGFX_H} CONST DEVICES_PRTGFX_H=0;
  2.  
  3. { ******************************************************************
  4.   ** KickPascal-Include-Datei "devices/prtgfx.h" zu Kickstart 3.0 **
  5.   ****************************************************************** }
  6.  
  7. TYPE p_colorEntry = ^colorEntry;
  8. TYPE p_PrtInfo = ^PrtInfo;
  9.  
  10. {$if not def GRAPHICS_RASTPORT_H;incl "graphics/rastport.h"; endif}
  11.  
  12. CONST
  13.  PCMYELLOW  = 0;
  14.  PCMMAGENTA = 1;
  15.  PCMCYAN    = 2;
  16.  PCMBLACK   = 3;
  17.  PCMBLUE    = PCMYELLOW;
  18.  PCMGREEN   = PCMMAGENTA;
  19.  PCMRED     = PCMCYAN;
  20.  PCMWHITE   = PCMBLACK;
  21.  
  22. TYPE colorEntry = RECORD
  23.   CASE Integer OF
  24.   1 :(colorLong  : Long);
  25.   2 :(colorByte  : ARRAY[0..3] OF Byte);
  26.   3 :(colorSByte : ARRAY[0..3] OF Short);
  27. END;
  28.  
  29. TYPE PrtInfo = RECORD { fast alle Felder PRIVATE! }
  30.  pi_render        : Ptr;
  31.  pi_rp            : p_RastPort;
  32.  pi_temprp        : p_RastPort;
  33.  pi_RowBuf        : Ptr;
  34.  pi_HamBuf        : Ptr;
  35.  pi_ColorMap      : p_colorEntry;
  36.  pi_ColorInt      : p_colorEntry;
  37.  pi_HamInt        : p_colorEntry;
  38.  pi_Dest1Int      : p_colorEntry;
  39.  pi_Dest2Int      : p_colorEntry;
  40.  pi_ScaleX        : Ptr;
  41.  pi_ScaleXAlt     : Ptr;
  42.  pi_dmatrix       : Ptr;
  43.  pi_TopBuf        : Ptr;
  44.  pi_BotBuf        : Ptr;
  45.  pi_RowBufSize    : Word;
  46.  pi_HamBufSize    : Word;
  47.  pi_ColorMapSize  : Word;
  48.  pi_ColorIntSize  : Word;
  49.  pi_HamIntSize    : Word;
  50.  pi_Dest1IntSize  : Word;
  51.  pi_Dest2IntSize  : Word;
  52.  pi_ScaleXSize    : Word;
  53.  pi_ScaleXAltSize : Word;
  54.  pi_PrefsFlags    : Word;
  55.  pi_special       : Long;
  56.  pi_xstart        : Word;
  57.  pi_ystart        : Word;
  58.  pi_width         : Word;
  59.  pi_height        : Word;
  60.  pi_pc            : Long;
  61.  pi_pr            : Long;
  62.  pi_ymult         : Word;
  63.  pi_ymod          : Word;
  64.  pi_ety           : Integer;
  65.  pi_xpos          : Word;
  66.  pi_threshold     : Word;
  67.  pi_tempwidth     : Word;
  68.  pi_flags         : Word;
  69. END;
  70.  
  71. {$endif}
  72.