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
countnumber of glyphs. - translations:
On output, the computed origin offsets in an array of
countnumber of Cgsize objects. - count:
The capacity of the
glyphsandtranslationsbuffers.