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(Text, in: CGRect)
Draws text into the context using the specified rectangle as a layout frame.
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.
struct ResolvedText
A text view resolved to a particular environment.