Contents

CTFontGetVerticalTranslationsForGlyphs(_:_:_:_:)

Calculates the offset from the default (horizontal) origin to the vertical origin for an array of glyphs.

Declaration

func CTFontGetVerticalTranslationsForGlyphs(_ font: CTFont, _ glyphs: UnsafePointer<CGGlyph>, _ translations: UnsafeMutablePointer<CGSize>, _ count: CFIndex)

Parameters

  • font:

    The font reference.

  • glyphs:

    An array of count number of glyphs.

  • translations:

    On output, the computed origin offsets in an array of count number of Cgsize objects.

  • count:

    The capacity of the glyphs and translations buffers.

See Also

Getting Glyph Data