cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCAffineTransform.h File Reference

Classes

struct  AffineTransform
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Macros

#define AffineTransformMake   __CCAffineTransformMake
 
#define PointApplyAffineTransform   __CCPointApplyAffineTransform
 
#define SizeApplyAffineTransform   __CCSizeApplyAffineTransform
 

Functions

CC_DLL AffineTransform __CCAffineTransformMake (float a, float b, float c, float d, float tx, float ty)
 
CC_DLL Vec2 __CCPointApplyAffineTransform (const Vec2 &point, const AffineTransform &t)
 
CC_DLL Size __CCSizeApplyAffineTransform (const Size &size, const AffineTransform &t)
 
CC_DLL AffineTransform AffineTransformMakeIdentity ()
 
CC_DLL Rect RectApplyAffineTransform (const Rect &rect, const AffineTransform &anAffineTransform)
 
CC_DLL Rect RectApplyTransform (const Rect &rect, const Mat4 &transform)
 
CC_DLL Vec2 PointApplyTransform (const Vec2 &point, const Mat4 &transform)
 
CC_DLL AffineTransform AffineTransformTranslate (const AffineTransform &t, float tx, float ty)
 
CC_DLL AffineTransform AffineTransformRotate (const AffineTransform &aTransform, float anAngle)
 
CC_DLL AffineTransform AffineTransformScale (const AffineTransform &t, float sx, float sy)
 
CC_DLL AffineTransform AffineTransformConcat (const AffineTransform &t1, const AffineTransform &t2)
 
CC_DLL bool AffineTransformEqualToTransform (const AffineTransform &t1, const AffineTransform &t2)
 
CC_DLL AffineTransform AffineTransformInvert (const AffineTransform &t)
 
CC_DLL Mat4 TransformConcat (const Mat4 &t1, const Mat4 &t2)
 

Variables

CC_DLL const AffineTransform AffineTransformIdentity
 

Macro Definition Documentation

#define AffineTransformMake   __CCAffineTransformMake
#define PointApplyAffineTransform   __CCPointApplyAffineTransform
#define SizeApplyAffineTransform   __CCSizeApplyAffineTransform