Udostępnij za pośrednictwem


CPoint Members

Construction

CPoint

Constructs a CPoint.

Operations

Offset

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

operator !=

Checks for inequality between two points.

operator ==

Checks for equality between two points.

Operators Returning CPoint Values

operator –

Returns the difference of a CPoint and a size, or the negation of a point.

operator +

Returns the sum of a CPoint and a size or point.

operator +=

Offsets CPoint by adding a size or point.

operator –=

Offsets CPoint by subtracting a size or point.

Operators Returning CSize Values

operator –

Returns the size difference between two points.

Operators Returning CRect Values

operator –

Returns a CRect offset by a negative size.

operator +

Returns a CRect offset by a size.

See Also

Reference

CPoint Class

POINT Structure

Hierarchy Chart