cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCSize Class Reference

NA. More...

#include <CCGeometry.h>

Public Member Functions

 CCSize ()
 
 CCSize (float width, float height)
 
 CCSize (const CCSize &other)
 NA. More...
 
 CCSize (const CCPoint &point)
 NA. More...
 
CCSizeoperator= (const CCSize &other)
 NA. More...
 
CCSizeoperator= (const CCPoint &point)
 NA. More...
 
CCSize operator+ (const CCSize &right) const
 NA. More...
 
CCSize operator- (const CCSize &right) const
 NA. More...
 
CCSize operator* (float a) const
 NA. More...
 
CCSize operator/ (float a) const
 NA. More...
 
void setSize (float width, float height)
 NA. More...
 
bool equals (const CCSize &target) const
 NA. More...
 

Public Attributes

float width
 
float height
 

Detailed Description

NA.

Constructor & Destructor Documentation

◆ CCSize() [1/4]

CCSize ( )

◆ CCSize() [2/4]

CCSize ( float  width,
float  height 
)

◆ CCSize() [3/4]

CCSize ( const CCSize other)

NA.

◆ CCSize() [4/4]

CCSize ( const CCPoint point)

NA.

Member Function Documentation

◆ equals()

bool equals ( const CCSize target) const

NA.

◆ operator*()

CCSize operator* ( float  a) const

NA.

◆ operator+()

CCSize operator+ ( const CCSize right) const

NA.

◆ operator-()

CCSize operator- ( const CCSize right) const

NA.

◆ operator/()

CCSize operator/ ( float  a) const

NA.

◆ operator=() [1/2]

CCSize & operator= ( const CCPoint point)

NA.

◆ operator=() [2/2]

CCSize & operator= ( const CCSize other)

NA.

◆ setSize()

void setSize ( float  width,
float  height 
)

NA.

Member Data Documentation

◆ height

float height

◆ width

float width

The documentation for this class was generated from the following file: