func draw(Text, at: CGPoint, anchor: UnitPoint )
Draws text into the context, aligning an anchor within the ideal size of the rendered text to a point in the context.
func draw(GraphicsContext .ResolvedText , at: CGPoint, anchor: UnitPoint )
Draws resolved text into the context, aligning an anchor within the ideal size of the text to a point in the context.
func draw(GraphicsContext .ResolvedText , in: CGRect)
Draws resolved text into the context using the specified rectangle as a layout frame.
func resolve(Text) -> GraphicsContext .ResolvedText
Gets a version of a text view that’s fixed with the current values of the graphics context’s environment.
struct ResolvedText
A text view resolved to a particular environment.