<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGContextSetInterpolationQuality",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGContextSetInterpolationQuality"
  },
  "title" : "CGContextSetInterpolationQuality"
}
-->

# CGContextSetInterpolationQuality

Sets the level of interpolation quality for a graphics context.

```
extern void CGContextSetInterpolationQuality(CGContextRef c, CGInterpolationQuality quality);
```

## Parameters

`c`

The graphics context to modify.

`quality`

A constant that specifies the required level of interpolation quality. For possible values, see [`CGInterpolationQuality`](/documentation/CoreGraphics/CGInterpolationQuality).

## Discussion

Interpolation quality is merely a hint to the context—not all contexts support all interpolation quality levels.

---

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)