MetaBitmapBitsToDevice


This metafile command copies Bitmap bits to a device context.

class MetaBitmapBitsToDevice : public Meta
{
 public:
  Rectangle Bounds;
  int DestinationX;
  int DestinationY;
  int SourceX;
  int SourceY;
  int SourceWidth;
  int SourceHeight;
  unsigned SourceBitmapInformationOffset;
  unsigned SourceBitmapInformation;
  unsigned SourceBitsOffset;
  unsigned SourceBits;
  unsigned SourceUsage;
  unsigned Start;
  unsigned Scans;
};

Members

Bounds The bounding rectangle for the operation (in device units).
DestinationX The x coordinate of the upper-left point of the destination rectangle (in logical coordinates).
DestinationY The y coordinate of the upper-left point of the destination rectangle (in logical coordinates).
SourceX The x coordinate of the upper-left point of the source rectangle (in logical coordinates).
SourceY The y coordinate of the upper-left point of the source rectangle (in logical coordinates).
SourceWidth The width of the source rectangle (in logical coordinates).
SourceHeight The height of the source rectangle (in logical coordinates).
SourceBitmapInformationOffset The offset of the source bitmap information structure.
SourceBitmapInformation The size of the source bitmap information structure.
SourceBitsOffset The offset to the source bits.
SourceBits The size of the bitmap bits.
SourceUsage The color information following the source bitmap information structure.
Start The scanline within the source bitmap at which the transfer commences.
Scans The number of scan lines to be transferred.

Notes

See related C function SetDeviceIndependentBitsToDevice.