James Wetzel 2011. 11. 4. 14:13

CSize::CSize

CSize( );

CSize( int initCX, int initCY );

CSize( SIZE initSize );

CSize( POINT initPt );

CSize( DWORD dwSize );

Parameters

initCX

Sets the cx member for the CSize.

initCY

Sets the cy member for the CSize.

initSize

SIZE structure or CSize object used to initialize CSize.

initPt

POINT structure or CPoint object used to initialize CSize.

dwSize

DWORD used to initialize CSize. The low-order word is the cx member and the high-order word is the cy member.

Remarks

Constructs a CSize object. If no arguments are given, cx and cy members are not initialized.

CSize Overview | Class Members | Hierarchy Chart

CSize Class Members

Construction

CSize Constructs a CSize object.

Operators

operator == Checks for equality between CSize and a size.
operator != Checks for inequality between CSize and a size.
operator += Adds a size to CSize.
operator –= Subtracts a size from CSize.

Operators Returning CSize Values

operator + Adds two sizes.
operator – Subtracts two sizes.

CSize Overview | Hierarchy Chart

728x90
반응형