win32gui.BitBlt

BitBlt(hdcDest, x, y, width, height, hdcSrc, nXSrc, nYSrc, dwRop)

Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.

Parameters

hdcDest : int

handle to destination DC

x : int

x-coord of destination upper-left corner

y : int

y-coord of destination upper-left corner

width : int

width of destination rectangle

height : int

height of destination rectangle

hdcSrc : int

handle to source DC

nXSrc : int

x-coordinate of source upper-left corner

nYSrc : int

y-coordinate of source upper-left corner

dwRop : int

raster operation code