CPoint::Offset

Syntax

void Offset( int xOffset, int yOffset );

void Offset( POINT point );

void Offset( SIZE initSize );

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 to offset the CPoint.

initSize

Specifies the amount to offset the CPoint.

Remarks

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

Return Value

A CPoint offset by a POINT, CPoint, or Size.