Type Method

vectorWithCGAffineTransform:

Creates and returns a vector that is initialized with values provided by a CGAffineTransform structure.

Declaration

+ (instancetype)vectorWithCGAffineTransform:(CGAffineTransform)t;

Parameters

t

A transform.

Return Value

A vector initialized with the specified values.

Discussion

The six values that comprise the affine transform fill the first six positions of the resulting CIVector object.

See Also

Creating a Vector

+ vectorWithValues:count:

Creates and returns a vector that is initialized with the specified values.

+ vectorWithX:

Creates and returns a vector that is initialized with one value.

+ vectorWithX:Y:

Creates and returns a vector that is initialized with two values.

+ vectorWithX:Y:Z:

Creates and returns a vector that is initialized with three values.

+ vectorWithX:Y:Z:W:

Creates and returns a vector that is initialized with four values.

+ vectorWithString:

Creates and returns a vector that is initialized with values provided in a string representation.

+ vectorWithCGPoint:

Creates and returns a vector that is initialized with values provided by a CGPoint structure.

+ vectorWithCGRect:

Creates and returns a vector that is initialized with values provided by a CGRect structure.