home *** CD-ROM | disk | FTP | other *** search
- @DATABASE "pGFX/RastPort.h"
- @MASTER "Work2:AD/IInc/pGFX/RastPort.h"
- @REMARK This file was created by ADtoHT 2.0 on 11-Mär-97 13:34:53
- @REMARK Do not edit
- @REMARK ADtoHT is © 1993-1995 Christian Stieber
-
- @NODE MAIN "pGFX/RastPort.h"
- @TOC "__pOS_Dev.guide/MAIN"
-
- @{"pGFX/RastPort.h" LINK File}
-
-
- @{b}Structures@{ub}
-
- @{"pOS_BltData" LINK "pGFX/RastPort.h/File" 47} @{"pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}
-
- @ENDNODE
- @NODE File "pGFX/RastPort.h"
- #ifndef __INC_POS_PGFX_RASTPORT_H
- #define __INC_POS_PGFX_RASTPORT_H
- /*******************************************************************
- Includes Release 24
- (C) Copyright 1995-1997 proDAD
- All Rights Reserved
-
- $AUT Holger Burkarth
- $DAT >>RastPort.h<< 01 Dec 1996 10:06:51 - (C) ProDAD
- *******************************************************************/
- #ifndef __INC_POS_PLAYER_RECT_H
- #include <@{"pLayer/Rect.h" LINK "pLayer/Rect.h/File"}>
- #endif
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_RastPort
- {
- struct pOS_GfxLibrary *rp_Base;
- @{"ULONG" LINK "pExec/Types.h/File" 91} rp_UserData[2];
- @{"struct pOS_Layer" LINK "pLayer/Clip.h/File" 63} *rp_Layer;
- @{"struct pOS_GfxMap" LINK "pGFX/GfxMap.h/File" 18} *rp_GfxMap;
-
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_Flags; /* (enum pOS_RastPortFlags) */
- @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} rp_CP; /* Cursor-Position */
-
- @{"struct pOS_TextFont" LINK "pGFX/Text.h/File" 30} *rp_Font;
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_AlgoStyle; /* the algorithmically generated style */
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_TxFlags; /* text specific flags */
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_TxHeight; /* text height */
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_TxWidth; /* text nominal width */
- @{"UWORD" LINK "pExec/Types.h/File" 93} rp_TxBaseline; /* text baseline */
- @{"SWORD" LINK "pExec/Types.h/File" 92} rp_TxSpacing; /* text spacing (per character) */
-
- @{"SWORD" LINK "pExec/Types.h/File" 92} rp_PatMoveX; /* Pattern-Verschiebung */
- @{"SWORD" LINK "pExec/Types.h/File" 92} rp_PatMoveY;
-
- @{"UBYTE" LINK "pExec/Types.h/File" 95} rp_Reserved[32];
- };
-
-
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_BltData
- {
- @{"ULONG" LINK "pExec/Types.h/File" 91} btd_SrcX, btd_SrcY;
- @{"SLONG" LINK "pExec/Types.h/File" 90} btd_DstX, btd_DstY;
- @{"ULONG" LINK "pExec/Types.h/File" 91} btd_MskX, btd_MskY;
- @{"ULONG" LINK "pExec/Types.h/File" 91} btd_Width,btd_Height;
- };
-
-
-
-
- /** @{"pOS_SetDrMd()" LINK "pGraphicsD/pOS_SetDrMd"} **/
- enum pOS_RastPortDrawMode
- {
- DRMD_Jam1= 0x00, /* jam 1 color into raster */
- DRMD_Jam2= 0x01, /* jam 2 colors into raster */
- DRMD_Complement= 0x02, /* XOR bits into raster */
- DRMD_Invers= 0x04, /* inverse video for drawing modes */
- };
-
-
- enum pOS_RastPortFlags
- {
- RASTPORTF_FirstDot= 0x01, /* draw the first dot of this line */
- RASTPORTF_OneDot= 0x02, /* use one dot mode for drawing lines */
- RASTPORTF_DBuffer= 0x04, /* flag set when RastPorts are double-buffered */
- RASTPORTF_AreaOutline= 0x08, /* used by areafiller */
- RASTPORTF_NoCrossFill= 0x20, /* areafills have no crossovers */
- };
-
-
- enum pOS_BltStdMinterm
- {
- BLTMINT_Copy = 0xc0,
- BLTMINT_Mask = 0xe0,
- };
-
-
- /** @{"pOS_ScrollRaster()" LINK "pGraphicsD/pOS_ScrollRaster"} **/
- enum pOS_ScrollRasterFlags
- {
- SCLRSTF_Std = 0x0002, /* Standard => BPen ohne Damage */
- SCLRSTF_Ignore = 0x0000, /* keine spezielle Aktion auslösen */
- SCLRSTF_Damage = 0x0001, /* Alle freigewordenen Bereiche als Damage kennzeichnen. */
- SCLRSTF_BPen = 0x0002, /* BPen verwenden */
- SCLRSTF_Erase = 0x0004, /* Die freigewordenen Bereiche werden mit dem
- ** BackFill-Hook gefüllt. Schließt BPen-Draw aus.
- */
- };
-
-
-
- /** @{"pOS_PolyFill()" LINK "pGraphicsD/pOS_PolyFill"} **/
- enum pOS_PolyFillFlags
- {
- POLYFILF_Std = 0x0000, /* */
- POLYFILF_Erase = 0x0002, /* BackFill zum Zeichnen verwenden, sonst APen */
- };
-
-
- #endif
- @ENDNODE
-