Contents

getGlyphBBoxes(glyphs:count:bboxes:)

Get the bounding box of each glyph in an array.

Declaration

func getGlyphBBoxes(glyphs: UnsafePointer<CGGlyph>, count: Int, bboxes: UnsafeMutablePointer<CGRect>) -> Bool

Parameters

  • glyphs:

    A array of glyphs.

  • count:

    The number of items in the glyphs array.

  • bboxes:

    On return, the bounding boxes for each glyph.

Return Value

false if bounding boxes can’t be retrieved for any reason; true otherwise.

See Also

Working with Glyphs