PyCDC.StretchBlt

StretchBlt(destPos, size, dc, srcPos, size, rop)

Copies a bitmap from the source device context to this device context.

Parameters

destPos : (x,y)-ints

The logical x,y coordinates of the upper-left corner of the destination rectangle.

size : (width, height)-ints

Specifies the width and height (in logical units) of the destination rectangle and source bitmap.

dc : PyCDC

Specifies the PyCDC object from which the bitmap will be copied. It must be None if rop specifies a raster operation that does not include a source.

srcPos : (xSrc, ySrc)-ints

Specifies the logical x,y coordinates of the upper-left corner of the source bitmap.

size : (widthsrc, heightsrc)-ints

Specifies the width and height (in logical units) of the destination rectangle and source bitmap.

rop : int

Specifies the raster operation to be performed. See the win32 api documentation for details.

MFC References

CDC::StretchBlt