Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Subtracts a size from this CSize.
void operator -=( 
   SIZE size  
) throw( );
Example
CSize sz1(100, 100);
CSize sz2(50,  25);
sz1 -= sz2;
CSize szResult(50, 75);
ASSERT(sz1 == szResult);
// works with SIZE, too
sz1 = CSize(100, 100);
SIZE sz3;
sz3.cx = 50;
sz3.cy = 25;
sz1 -= sz3;
ASSERT(sz1 == szResult);   
Requirements
Header: atltypes.h