draw(layout:in:)

Draws layout into ctx.

Declaration

func draw(layout: Text.Layout, in ctx: inout GraphicsContext)