Contents

CTFontGetMatrix(_:)

Returns the transformation matrix of the given font.

Declaration

func CTFontGetMatrix(_ font: CTFont) -> CGAffineTransform

Parameters

  • font:

    The font reference.

Return Value

The transformation matrix for the given font reference. This is the matrix that was provided when the font was created.

See Also

Getting Font Data