cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 命名空间 | 宏定义 | 函数 | 变量

CCAffineTransform.h 文件参考

#include "base/CCPlatformMacros.h"

#include "math/CCGeometry.h"

#include "math/CCMath.h"

##
struct AffineTransform
## 命名空间
cocos2d
Add deprecated global functions and variables here.
## 宏定义
#define AffineTransformMake CCAffineTransformMake
#define PointApplyAffineTransform CCPointApplyAffineTransform
#define SizeApplyAffineTransform __CCSizeApplyAffineTransform
## 函数
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)
Mat4 TransformConcat (const Mat4 &t1, const Mat4 &t2)
## 变量
CC_DLL const AffineTransform AffineTransformIdentity

宏定义说明

#define AffineTransformMake __CCAffineTransformMake

#define PointApplyAffineTransform __CCPointApplyAffineTransform

#define SizeApplyAffineTransform __CCSizeApplyAffineTransform