Contents

transform(_:backgroundColor:destination:)

Applies a Core Graphics affine transformation to a floating-point 32-bit planar pixel buffer.

Declaration

func transform(_ transform: CGAffineTransform, backgroundColor: Pixel_F? = Pixel_F(0), destination: vImage.PixelBuffer<Format>)

Parameters

  • transform:

    The affine transformation matrix.

  • backgroundColor:

    An optional background color. If you pass nil, the operation uses the Kvimageedgeextend flag to extend the edges of the image infinitely.

  • destination:

    The destination pixel buffer.

See Also

Related Documentation

Applying affine transformations to images