<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBezierPath/drawPackedGlyphs(_:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBezierPath(cm)drawPackedGlyphs:atPoint:"
  },
  "title" : "drawPackedGlyphs(_:at:)"
}
-->

# drawPackedGlyphs(_:at:)

Draws a set of packed glyphs at the specified point in the current coordinate system.

```
class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<CChar>, at point: NSPoint)
```

## Parameters

`packedGlyphs`

A C-style array containing one or more `CGGlyph` data types terminated by a `NULL` character.

`point`

The starting point at which to draw the glyphs.

## Discussion

This method draws the glyphs immediately.

You should avoid using this method directly. Instead, use the [`appendGlyph(_:in:)`](/documentation/AppKit/NSBezierPath/appendGlyph(_:in:)) and [`appendGlyphs(_:count:in:)`](/documentation/AppKit/NSBezierPath/appendGlyphs(_:count:in:)) methods to create a path with one or more glyphs.

## See Also

[`appendPackedGlyphs(_:)`](/documentation/AppKit/NSBezierPath/appendPackedGlyphs(_:))

Appends an array of packed glyphs to the path.

[`set()`](/documentation/AppKit/NSColor/set())

Sets the color of subsequent drawing to the color that the color object represents.



---

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)