---
title: CGContextSetInterpolationQuality
framework: coregraphics
role: symbol
role_heading: Function
path: coregraphics/cgcontextsetinterpolationquality
---

# CGContextSetInterpolationQuality

Sets the level of interpolation quality for a graphics context.

## Declaration

```occ
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 doc://com.apple.coregraphics/documentation/CoreGraphics/CGInterpolationQuality.

## Discussion

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

## See Also

### Drawing Images and PDF Content

- [CGContextDrawTiledImage](coregraphics/cgcontextdrawtiledimage.md)
- [CGContextDrawImage](coregraphics/cgcontextdrawimage.md)
- [drawPDFPage(_:)](coregraphics/cgcontext/drawpdfpage(_:).md)
- [interpolationQuality](coregraphics/cgcontext/interpolationquality.md)
- [CGInterpolationQuality](coregraphics/cginterpolationquality.md)
