InvertRect |
VB聲明 |
|
Declare Function InvertRect Lib "user32" Alias "InvertRect" (ByVal hdc As Long, lpRect As RECT) As Long |
|
說(shuō)明 |
|
通過(guò)反轉(zhuǎn)每個(gè)像素的值,從而反轉(zhuǎn)一個(gè)設(shè)備場(chǎng)景中指定的矩形 |
|
返回值 |
|
Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError |
|
參數(shù)表 |
|
參數(shù) |
類型及說(shuō)明 |
hdc |
Long,設(shè)備場(chǎng)景的句柄 |
lpRect |
RECT,要反轉(zhuǎn)的矩形,用邏輯坐標(biāo)指定 |
注解 |
|
反轉(zhuǎn)是一種光柵操作 |
Top |