Core Animation Functions

No overview available.

Symbols

Timing Functions

func CACurrentMediaTime()

Returns the current absolute time, in seconds.

Transform Functions

func CATransform3DIsIdentity(CATransform3D)

Returns a Boolean value that indicates whether the transform is the identity transform.

func CATransform3DEqualToTransform(CATransform3D, CATransform3D)

Returns a Boolean value that indicates whether the two transforms are exactly equal.

func CATransform3DMakeTranslation(CGFloat, CGFloat, CGFloat)

Returns a transform that translates by '(tx, ty, tz)'. t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

func CATransform3DMakeScale(CGFloat, CGFloat, CGFloat)

Returns a transform that scales by `(sx, sy, sz)': * t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1].

func CATransform3DMakeRotation(CGFloat, CGFloat, CGFloat, CGFloat)

Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned.

func CATransform3DTranslate(CATransform3D, CGFloat, CGFloat, CGFloat)

Translate 't' by '(tx, ty, tz)' and return the result: t' = translate(tx, ty, tz) * t.

func CATransform3DScale(CATransform3D, CGFloat, CGFloat, CGFloat)

Scale 't' by '(sx, sy, sz)' and return the result: t' = scale(sx, sy, sz) * t.

func CATransform3DRotate(CATransform3D, CGFloat, CGFloat, CGFloat, CGFloat)

Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t.

func CATransform3DConcat(CATransform3D, CATransform3D)

Concatenate 'b' to 'a' and return the result: t' = a * b.

func CATransform3DInvert(CATransform3D)

Invert 't' and return the result. Returns the original matrix if 't' has no inverse.

func CATransform3DMakeAffineTransform(CGAffineTransform)

Return a transform with the same effect as affine transform 'm'.

func CATransform3DIsAffine(CATransform3D)

Returns true if 't' can be exactly represented by an affine transform.

func CATransform3DGetAffineTransform(CATransform3D)

Returns the affine transform represented by 't'. If 't' can not be exactly represented as an affine transform the returned value is undefined.