2011-06-14 14:31:25 +08:00
|
|
|
|
|
|
|
struct CCAffineTransform {
|
2012-04-26 09:34:42 +08:00
|
|
|
CCFloat a, b, c, d;
|
|
|
|
CCFloat tx, ty;
|
2011-06-14 14:31:25 +08:00
|
|
|
};
|
2012-02-02 14:26:38 +08:00
|
|
|
|
2012-04-26 09:34:42 +08:00
|
|
|
CCAffineTransform __CCAffineTransformMake(CCFloat a, CCFloat b, CCFloat c, CCFloat d, CCFloat tx, CCFloat ty);
|
|
|
|
CCAffineTransform CCAffineTransformMake(CCFloat a, CCFloat b, CCFloat c, CCFloat d, CCFloat tx, CCFloat ty);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
|
|
|
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);
|
2012-04-26 09:34:42 +08:00
|
|
|
CCAffineTransform CCAffineTransformRotate(CCAffineTransform aTransform, CCFloat anAngle);
|
|
|
|
CCAffineTransform CCAffineTransformScale(CCAffineTransform t, CCFloat sx, CCFloat sy);
|
2011-06-14 14:31:25 +08:00
|
|
|
CCAffineTransform CCAffineTransformConcat(CCAffineTransform t1,CCAffineTransform t2);
|
|
|
|
bool CCAffineTransformEqualToTransform(CCAffineTransform t1,CCAffineTransform t2);
|
|
|
|
CCAffineTransform CCAffineTransformInvert(CCAffineTransform t);
|