- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件
-
)
- 文件列表
- 文件成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
类 | 命名空间 | 宏定义 | 函数 | 变量
CCAffineTransform.h 文件参考
#include "base/CCPlatformMacros.h"
#include "math/CCGeometry.h"
#include "math/CCMath.h"
## 命名空间
|
| cocos2d |
| Add deprecated global functions and variables here.
|
|
## 函数
|
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) |
|
宏定义说明
#define AffineTransformMake __CCAffineTransformMake |
#define PointApplyAffineTransform __CCPointApplyAffineTransform |
#define SizeApplyAffineTransform __CCSizeApplyAffineTransform |