cocos2d-x
3.3
|
#include <CCGeometry.h>
Public Member Functions | |
operator Vec2 () const | |
Size () | |
NA More... | |
Size (float width, float height) | |
NA More... | |
Size (const Size &other) | |
NA NA More... | |
Size (const Vec2 &point) | |
NA NA More... | |
Size & | operator= (const Size &other) |
NA NA More... | |
Size & | operator= (const Vec2 &point) |
NA NA More... | |
Size | operator+ (const Size &right) const |
NA NA More... | |
Size | operator- (const Size &right) const |
NA NA More... | |
Size | operator* (float a) const |
NA NA More... | |
Size | operator/ (float a) const |
NA NA More... | |
void | setSize (float width, float height) |
NA NA More... | |
bool | equals (const Size &target) const |
NA More... | |
Public Attributes | |
float | width |
float | height |
Static Public Attributes | |
static const Size | ZERO |
Size | ( | ) |
NA
Size | ( | float | width, |
float | height | ||
) |
NA
bool equals | ( | const Size & | target | ) | const |
NA
|
inline |
Size operator* | ( | float | a | ) | const |
NA NA
Size operator/ | ( | float | a | ) | const |
NA NA
void setSize | ( | float | width, |
float | height | ||
) |
NA NA
float height |
float width |
|
static |