<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGFont/getGlyphBBoxes(glyphs:count:bboxes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Graphics",
      "CoreGraphics"
    ],
    "preciseIdentifier" : "c:@F@CGFontGetGlyphBBoxes"
  },
  "title" : "getGlyphBBoxes(glyphs:count:bboxes:)"
}
-->

# getGlyphBBoxes(glyphs:count:bboxes:)

Get the bounding box of each glyph in an array.

```
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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)