setShouldSubpixelQuantizeFonts(_:)
Enables or disables subpixel quantization in a graphics context.
Declaration
func setShouldSubpixelQuantizeFonts(_ shouldSubpixelQuantizeFonts: Bool)Parameters
- shouldSubpixelQuantizeFonts:
A Boolean value that specifies whether to enable subpixel quantization.
Discussion
When enabled, the graphics context may quantize the subpixel positions of glyphs.
This parameter is part of the graphics state.
See Also
Drawing Text
textMatrixtextPositionselectFont(name:size:textEncoding:)setCharacterSpacing(_:)setFont(_:)setFontSize(_:)setTextDrawingMode(_:)setAllowsFontSmoothing(_:)setAllowsFontSubpixelPositioning(_:)setAllowsFontSubpixelQuantization(_:)setShouldSmoothFonts(_:)setShouldSubpixelPositionFonts(_:)showGlyphs(g:count:)showGlyphs(_:at:)showGlyphsAtPoint(x:y:glyphs:count:)