#include <CCGeometry.h>
Public Member Functions | |
| CCSize () | |
| CCSize (float width, float height) | |
| CCSize (const CCSize &other) | |
| CCSize (const CCPoint &point) | |
| CCSize & | operator= (const CCSize &other) |
| CCSize & | operator= (const CCPoint &point) |
| CCSize | operator+ (const CCSize &right) const |
| CCSize | operator- (const CCSize &right) const |
| CCSize | operator* (float a) const |
| CCSize | operator/ (float a) const |
| void | setSize (float width, float height) |
| bool | equals (const CCSize &target) const |
Public Attributes | |
| float | width |
| float | height |
| CCSize | ( | ) |
| CCSize | ( | float | width, |
| float | height | ||
| ) |
| bool equals | ( | const CCSize & | target) | const |
| CCSize operator* | ( | float | a) | const |
| CCSize operator/ | ( | float | a) | const |
| void setSize | ( | float | width, |
| float | height | ||
| ) |
| float height |
| float width |