cocos2d-x  3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ControlUtils Class Reference

#include <CCControlUtils.h>

Static Public Member Functions

static SpriteaddSpriteToTargetWithPosAndAnchor (const char *spriteName, Node *target, Vec2 pos, Vec2 anchor)
static HSV HSVfromRGB (RGBA value)
static RGBA RGBfromHSV (HSV value)
static Rect RectUnion (const Rect &src1, const Rect &src2)

Member Function Documentation

static Sprite*
addSpriteToTargetWithPosAndAnchor
( const char *  spriteName,
Node target,
Vec2  pos,
Vec2  anchor 
)
static
static HSV HSVfromRGB ( RGBA  value)
static
static Rect RectUnion ( const Rect src1,
const Rect src2 
)
static
static RGBA RGBfromHSV ( HSV  value)
static

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