Jump to content

BITBLTINFO: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 2: Line 2:


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


==C Declaration Method==
==C Declaration Method==
typedef
  typedef BITBLTINFO *PBITBLTINFO;
 
== Example Code ==
<PRE>
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;
</PRE>


[[Category:Data type]]
[[Category:Data type]]

Revision as of 22:42, 3 November 2018

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

Type

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 colour. */
 ULONG         ulSrcBGColor;   /* Monochrome source Background colour and transparent colour. */
 ULONG         ulPatFGColor;   /* Monochrome pattern Foreground colour. */
 ULONG         ulPatBGColor;   /* Monochrome pattern Background colour. */
 PBYTE         abColors;       /* Pointer to colour 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;

C Declaration Method

typedef BITBLTINFO *PBITBLTINFO;