home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pGFX / RastPort.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-11  |  4.2 KB  |  127 lines

  1. @DATABASE "pGFX/RastPort.h"
  2. @MASTER   "Work2:AD/IInc/pGFX/RastPort.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:34:53
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pGFX/RastPort.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pGFX/RastPort.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_BltData" LINK "pGFX/RastPort.h/File" 47}  @{"pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}
  16.  
  17. @ENDNODE
  18. @NODE File "pGFX/RastPort.h"
  19. #ifndef __INC_POS_PGFX_RASTPORT_H
  20. #define __INC_POS_PGFX_RASTPORT_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>RastPort.h<<   01 Dec 1996    10:06:51 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PLAYER_RECT_H
  30. #include <@{"pLayer/Rect.h" LINK "pLayer/Rect.h/File"}>
  31. #endif
  32.  
  33.  
  34. /*----------------------------------
  35. -----------------------------------*/
  36. struct pOS_RastPort
  37. {
  38.   struct pOS_GfxLibrary *rp_Base;
  39.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  rp_UserData[2];
  40.   @{"struct pOS_Layer" LINK "pLayer/Clip.h/File" 63}      *rp_Layer;
  41.   @{"struct pOS_GfxMap" LINK "pGFX/GfxMap.h/File" 18}     *rp_GfxMap;
  42.  
  43.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_Flags;      /* (enum pOS_RastPortFlags) */
  44.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26}       rp_CP;         /* Cursor-Position */
  45.  
  46.   @{"struct pOS_TextFont" LINK "pGFX/Text.h/File" 30}   *rp_Font;
  47.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_AlgoStyle;  /* the algorithmically generated style */
  48.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_TxFlags;    /* text specific flags */
  49.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_TxHeight;   /* text height */
  50.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_TxWidth;    /* text nominal width */
  51.   @{"UWORD" LINK "pExec/Types.h/File" 93}                  rp_TxBaseline; /* text baseline */
  52.   @{"SWORD" LINK "pExec/Types.h/File" 92}                  rp_TxSpacing;  /* text spacing (per character) */
  53.  
  54.   @{"SWORD" LINK "pExec/Types.h/File" 92}                  rp_PatMoveX;   /* Pattern-Verschiebung */
  55.   @{"SWORD" LINK "pExec/Types.h/File" 92}                  rp_PatMoveY;
  56.  
  57.   @{"UBYTE" LINK "pExec/Types.h/File" 95} rp_Reserved[32];
  58. };
  59.  
  60.  
  61.  
  62.  
  63. /*----------------------------------
  64. -----------------------------------*/
  65. struct pOS_BltData
  66. {
  67.   @{"ULONG" LINK "pExec/Types.h/File" 91} btd_SrcX, btd_SrcY;
  68.   @{"SLONG" LINK "pExec/Types.h/File" 90} btd_DstX, btd_DstY;
  69.   @{"ULONG" LINK "pExec/Types.h/File" 91} btd_MskX, btd_MskY;
  70.   @{"ULONG" LINK "pExec/Types.h/File" 91} btd_Width,btd_Height;
  71. };
  72.  
  73.  
  74.  
  75.  
  76. /** @{"pOS_SetDrMd()" LINK "pGraphicsD/pOS_SetDrMd"} **/
  77. enum pOS_RastPortDrawMode
  78. {
  79.  DRMD_Jam1=       0x00, /* jam 1 color into raster */
  80.  DRMD_Jam2=       0x01, /* jam 2 colors into raster */
  81.  DRMD_Complement= 0x02, /* XOR bits into raster */
  82.  DRMD_Invers=     0x04, /* inverse video for drawing modes */
  83. };
  84.  
  85.  
  86. enum pOS_RastPortFlags
  87. {
  88.  RASTPORTF_FirstDot=    0x01, /* draw the first dot of this line */
  89.  RASTPORTF_OneDot=      0x02, /* use one dot mode for drawing lines */
  90.  RASTPORTF_DBuffer=     0x04, /* flag set when RastPorts are double-buffered */
  91.  RASTPORTF_AreaOutline= 0x08, /* used by areafiller */
  92.  RASTPORTF_NoCrossFill= 0x20, /* areafills have no crossovers */
  93. };
  94.  
  95.  
  96. enum pOS_BltStdMinterm
  97. {
  98.   BLTMINT_Copy  = 0xc0,
  99.   BLTMINT_Mask  = 0xe0,
  100. };
  101.  
  102.  
  103. /** @{"pOS_ScrollRaster()" LINK "pGraphicsD/pOS_ScrollRaster"} **/
  104. enum pOS_ScrollRasterFlags
  105. {
  106.   SCLRSTF_Std      = 0x0002,    /* Standard => BPen ohne Damage */
  107.   SCLRSTF_Ignore   = 0x0000,    /* keine spezielle Aktion auslösen */
  108.   SCLRSTF_Damage   = 0x0001,    /* Alle freigewordenen Bereiche als Damage kennzeichnen. */
  109.   SCLRSTF_BPen     = 0x0002,    /* BPen verwenden */
  110.   SCLRSTF_Erase    = 0x0004,    /* Die freigewordenen Bereiche werden mit dem
  111.                                 ** BackFill-Hook gefüllt. Schließt BPen-Draw aus.
  112.                                 */
  113. };
  114.  
  115.  
  116.  
  117. /** @{"pOS_PolyFill()" LINK "pGraphicsD/pOS_PolyFill"} **/
  118. enum pOS_PolyFillFlags
  119. {
  120.   POLYFILF_Std     = 0x0000,    /* */
  121.   POLYFILF_Erase   = 0x0002,    /* BackFill zum Zeichnen verwenden, sonst APen */
  122. };
  123.  
  124.  
  125. #endif
  126. @ENDNODE
  127.