Class CCSize

#include <Geode/cocos/cocoa/CCGeometry.h>
classCCSize{ ... }
No description provided
Examples0
Public static methods0
Public member functions15
cocos2d::CCSize&operator=()
No description provided
cocos2d::CCSize&operator=()
No description provided
cocos2d::CCSizeoperator+()const
No description provided
cocos2d::CCSizeoperator-()const
No description provided
cocos2d::CCSizeoperator*()const
No description provided
cocos2d::CCSizeoperator/()const
No description provided
voidsetSize(
floatwidth
,
floatheight
)
No description provided
boolequals()const
No description provided
boolfuzzyEquals(,)const
No description provided
floataspect()const

Get the aspect ratio of this CCSize

ℹ Geode addition

voidadd(
intidx
,)
No description provided
floatat(
intidx
)
No description provided
boolisZero()const
No description provided
voidset(
intidx
,)
No description provided
voidswap()
No description provided
Fields2
floatwidth
;
No description provided
floatheight
;
No description provided
Protected member functions0
Protected fields0