win32gui.PatBlt

PatBlt(hdc, XLeft, YLeft, Width, Height, Rop)

Paints a rectangle by combining the current brush with existing colors

Parameters

hdc : PyHANDLE

Handle to a device context

XLeft : int

Horizontal pos

YLeft : int

Vertical pos

Width : int

Width of rectangular area

Height : int

Height of rectangular area

Rop : int

Raster operation, one of PATCOPY,PATINVERT,DSTINVERT,BLACKNESS,WHITENESS