| 释义 |
CPoint::Offset
void Offset( int xOffset, int yOffset ); void Offset( POINT point ); void Offset ( SIZE size );
参数:| xOffset | 指定CPoint的x成员的偏移量。 | | yOffset | 指定CPoint的y成员的偏移量。 | | point | 指定偏移此CPoint的数量(POINT 或CPoint)。 | | size | 指定偏移此CPoint的数量(SIZE或CSize)。 |
说明:此函数将偏移值增加到CPoint的x和y成员。
请参阅:CPoint::operator +=, CPoint::operator -= |