InvertRect
VB声明
Declare Function InvertRect Lib "user32" Alias "InvertRect" (ByVal hdc As Long, lpRect As RECT) As Long
说明
通过反转每个像素的值,从而反转一个设备场景中指定的矩形
返回值
Long,非零表示成功,零表示失败。会设置GetLastError
参数表
参数 类型及说明
hdc Long,设备场景的句柄
lpRect RECT,要反转的矩形,用逻辑坐标指定
注解

反转是一种光栅操作

Top