---
title: "getBoundingRects(_:forGlyphs:count:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsfont/getboundingrects(_:forglyphs:count:)"
---

# getBoundingRects(_:forGlyphs:count:)

Returns an array of the bounding rectangles for the specified glyphs rendered by the receiver.

## Declaration

```swift
func getBoundingRects(_ bounds: NSRectArray, forGlyphs glyphs: UnsafePointer<NSGlyph>, count glyphCount: Int)
```

## Discussion

Discussion Returns in bounds an array of the bounding rectangles for the glyphs specified by glyphs and rendered by the receiver. The  glyphCount must specify the count of glyphs passed in glyphs.

## See Also

### Related Documentation

- [boundingRectForFont](appkit/nsfont/boundingrectforfont.md)

### Instance Methods

- [advancement(forGlyph:)](appkit/nsfont/advancement(forglyph:).md)
- [boundingRect(forGlyph:)](appkit/nsfont/boundingrect(forglyph:).md)
- [getAdvancements(_:forGlyphs:count:)](appkit/nsfont/getadvancements(_:forglyphs:count:).md)
- [getAdvancements(_:forPackedGlyphs:length:)](appkit/nsfont/getadvancements(_:forpackedglyphs:length:).md)
- [glyph(withName:)](appkit/nsfont/glyph(withname:).md)
- [screenFont(with:)](appkit/nsfont/screenfont(with:).md)
- [withSize(_:)](appkit/nsfont/withsize(_:).md)
