求高手看看 这样写是否正确
If (PicData(0, dwX, dwY) = crColor.rgbBlue) And (PicData(1, dwX, dwY) = crColor.rgbGreen) And (PicData(2, dwX, dwY) = crColor.rgbRed) ThenIf (PicData(0, dwX + 10, dwY - 10) = crColor.rgbBlue) And (PicData(1, dwX + 10, dwY - 10) = crColor.rgbGreen) And (PicData(2, dwX + 10, dwY - 10) = crColor.rgbRed) Then
第2句 是不是在判断第一句的点的位置上偏移10,-10个单位的颜色呢