Paints the specified rectangle using the brush that is currently selected into the specified device context
#include <WinAPIGdi.au3>
_WinAPI_PatBlt ( $hDC, $iX, $iY, $iWidth, $iHeight, $iRop )
$hDC | Handle to the device context. |
$iX | The x-coordinate, in logical units, of the upper-left corner of the rectangle to be filled. |
$iY | The y-coordinate, in logical units, of the upper-left corner of the rectangle to be filled. |
$iWidth | The width, in logical units, of the rectangle. |
$iHeight | The height, in logical units, of the rectangle. |
$iRop | The raster operation code. This code can be one of the following values. $BLACKNESS $DSTINVERT $PATCOPY $PATINVERT $WHITENESS |
Success: | True |
Failure: | False |
Search PatBlt in MSDN Library.