2011-06-14 14:31:25 +08:00
|
|
|
|
|
|
|
struct CCAffineTransform {
|
2012-02-02 14:26:38 +08:00
|
|
|
CGFloat a, b, c, d;
|
|
|
|
CGFloat tx, ty;
|
2011-06-14 14:31:25 +08:00
|
|
|
};
|
2012-02-02 14:26:38 +08:00
|
|
|
|
2011-06-14 14:31:25 +08:00
|
|
|
CCAffineTransform __CCAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty);
|
|
|
|
CCAffineTransform CCAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty);
|
|
|
|
|
|
|
|
CCPoint __CCPointApplyAffineTransform(CCPoint point, CCAffineTransform t);
|
|
|
|
CCPoint CCPointApplyAffineTransform(CCPoint point, CCAffineTransform t);
|
|
|
|
|
|
|
|
CCSize CCSizeApplyAffineTransform(CCSize size, CCAffineTransform t);
|
|
|
|
CCSize __CCSizeApplyAffineTransform(CCSize size, CCAffineTransform t);
|
|
|
|
|
|
|
|
CCAffineTransform CCAffineTransformMakeIdentity();
|
|
|
|
CCRect CCRectApplyAffineTransform(CCRect rect, CCAffineTransform anAffineTransform);
|
|
|
|
|
|
|
|
CCAffineTransform CCAffineTransformTranslate(CCAffineTransform t, float tx, float ty);
|
|
|
|
CCAffineTransform CCAffineTransformRotate(CCAffineTransform aTransform, CGFloat anAngle);
|
|
|
|
CCAffineTransform CCAffineTransformScale(CCAffineTransform t, CGFloat sx, CGFloat sy);
|
|
|
|
CCAffineTransform CCAffineTransformConcat(CCAffineTransform t1,CCAffineTransform t2);
|
|
|
|
bool CCAffineTransformEqualToTransform(CCAffineTransform t1,CCAffineTransform t2);
|
|
|
|
CCAffineTransform CCAffineTransformInvert(CCAffineTransform t);
|