CPoint::Offset

CPoint::Offset

void Offset( int xOffset, int yOffset );

void Offset( POINT point );

void Offset( SIZE size );

Parameters

xOffset

Specifies the amount to offset the x member of the CPoint.

yOffset

Specifies the amount to offset the y member of the CPoint.

point

Specifies the amount (POINT or CPoint) to offset the CPoint.

size

Specifies the amount (SIZE or CSize) to offset the CPoint.

Remarks

Adds values to the x and y members of the CPoint.

CPoint Overview |  Class Members |  Hierarchy Chart

See Also   CPoint::operator +=, CPoint::operator –=