<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGContext/showGlyphs(_:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Graphics",
      "CoreGraphics"
    ],
    "preciseIdentifier" : "s:So12CGContextRefa12CoreGraphicsE10showGlyphs_2atySays6UInt16VG_SaySo7CGPointVGtF"
  },
  "title" : "showGlyphs(_:at:)"
}
-->

# showGlyphs(_:at:)

Draws a set of glyphs at a set of corresponding positions.

```
func showGlyphs(_ glyphs: [CGGlyph], at positions: [CGPoint])
```

## Parameters

`glyphs`

An array of glyphs.

`positions`

An array positions for the glyphs. Each item in this array specifies the position at which to draw the glyph at the corresponding index in the `glyphs` array.

## Discussion

Points in the positions array are specified in text space, so the [`textMatrix`](/documentation/CoreGraphics/CGContext/textMatrix) property defines their transformation to user space.

---

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)