BITBLTINFO

From EDM2
Jump to: navigation, search

BitBlt information structure. BitBlt information structure, used for the GHI_CMD_BITBLT and VMI_CMD_BITBLT functions.

Type

 ULONG         ulLength;       /*  Length of the BITBLTINFO data structure, in bytes. */
 ULONG         ulBltFlags;     /*  Flags for rendering of rasterized data. */
 ULONG         cBlits;         /*  Count of Blts to be performed. */
 ULONG         ulROP;          /*  Raster operation. */
 ULONG         ulMonoBackROP;  /*  Background mix if B_APPLY_BACK_ROP is set. */
 ULONG         ulSrcFGColor;   /*  Monochrome source Foreground color. */
 ULONG         ulSrcBGColor;   /*  Monochrome source Background color and transparent color. */
 ULONG         ulPatFGColor;   /*  Monochrome pattern Foreground color. */
 ULONG         ulPatBGColor;   /*  Monochrome pattern Background color. */
 PBYTE         abColors;       /*  Pointer to color translation table. */
 PBMAPINFO     pSrcBmapInfo;   /*  Pointer to source bit map (BMAPINFO) */
 PBMAPINFO     pDstBmapInfo;   /*  Pointer to destination bit map (BMAPINFO). */
 PBMAPINFO     pPatBmapInfo;   /*  Pointer to pattern bit map (BMAPINFO). */
 PPOINTL       aptlSrcOrg;     /*  Pointer to array of source origin POINTLs. */
 PPOINTL       aptlPatOrg;     /*  Pointer to array of pattern origin POINTLs. */
 PBLTRECT      abrDst;         /*  Pointer to array of Blt rects. */
 PRECTL        prclSrcBounds;  /*  Pointer to source bounding rect of source Blts. */
 PRECTL        prclDstBounds;  /*  Pointer to destination bounding rect of destination Blts. */

C Declaration Method

typedef

Example Code

typedef struct _BITBLTINFO {
  ULONG         ulLength;       /*  Length of the BITBLTINFO data structure, in bytes. */
  ULONG         ulBltFlags;     /*  Flags for rendering of rasterized data. */
  ULONG         cBlits;         /*  Count of Blts to be performed. */
  ULONG         ulROP;          /*  Raster operation. */
  ULONG         ulMonoBackROP;  /*  Background mix if B_APPLY_BACK_ROP is set. */
  ULONG         ulSrcFGColor;   /*  Monochrome source Foreground color. */
  ULONG         ulSrcBGColor;   /*  Monochrome source Background color and transparent color. */
  ULONG         ulPatFGColor;   /*  Monochrome pattern Foreground color. */
  ULONG         ulPatBGColor;   /*  Monochrome pattern Background color. */
  PBYTE         abColors;       /*  Pointer to color translation table. */
  PBMAPINFO     pSrcBmapInfo;   /*  Pointer to source bit map (BMAPINFO) */
  PBMAPINFO     pDstBmapInfo;   /*  Pointer to destination bit map (BMAPINFO). */
  PBMAPINFO     pPatBmapInfo;   /*  Pointer to pattern bit map (BMAPINFO). */
  PPOINTL       aptlSrcOrg;     /*  Pointer to array of source origin POINTLs. */
  PPOINTL       aptlPatOrg;     /*  Pointer to array of pattern origin POINTLs. */
  PBLTRECT      abrDst;         /*  Pointer to array of Blt rects. */
  PRECTL        prclSrcBounds;  /*  Pointer to source bounding rect of source Blts. */
  PRECTL        prclDstBounds;  /*  Pointer to destination bounding rect of destination Blts. */
} BITBLTINFO;

typedef BITBLTINFO *PBITBLTINFO;