code: func (dc *Context) DrawStringWrapped(s string, x, y, ax, ay, width, lineSpacing float64, align Align) {
  	lines := dc.WordWrap(s, width)
  
  	// sync h formula with MeasureMultilineString
  	h := float64(len(lines)) * dc.fontHeight * lineSpacing
  	h -= (lineSpacing - 1) * dc.fontHeight
  
  	x -= ax * width
  	y -= ay * h
  	switch align {
  	case AlignLeft:
  		ax = 0
  	case AlignCenter:
  		ax = 0.5
  		x += width / 2
  	case AlignRight:
  		ax = 1
  		x += width
  	}
  	ay = 1
  	for _, line := range lines {
  		dc.DrawStringAnchored(line, x, y, ax, ay)
  		y += dc.fontHeight * lineSpacing
  	}
  }
docs: // DrawStringWrapped word-wraps the specified string to the given max width
  // and then draws it at the specified anchor point using the given line
  // spacing and text alignment.