CGContext.SetAllowsSubpixelPositioning(Boolean) Method

Definition

Whether the context allows for glyphs to be aligned other than to pixel boundaries.

public void SetAllowsSubpixelPositioning (bool allows);
member this.SetAllowsSubpixelPositioning : bool -> unit

Parameters

allows
Boolean

true if glyphs need not be aligned to pixel boundaries.

Remarks

This property works in conjunction with SetShouldSubpixelPositionFonts(Boolean). Only if both values are true will glyphs not be aligned to pixel boundaries.

Applies to