func (a *Cursor) Printf(format string, args ...interface{}) (n int, err error) {
	n, err = fmt.Fprintf(a, format, args...)
	return n, err
}
Printf queues a command on the GPU to display text on the canvas (works like
fmt.Printf).
package pixel
import (
	"fmt"
	"unicode/utf8"
	"github.com/cozely/cozely/color"
)
type Cursor struct {
	Color         color.Index
	Font          FontID
	Margin        int16
	LetterSpacing int16
	Interline     int16
	Position      XY
	Layer         int16
}
func (a *Cursor) Style(c color.Index, f FontID) {
	a.Color = c
	a.Font = f
	a.Interline = int16(float32(a.Font.Height()) * 1.25)
}
func (a *Cursor) Locate(layer int16, p XY) {
	a.Layer = layer
	a.Position = XY{p.X, p.Y}
	a.Margin = a.Position.X
}
func (a *Cursor) Print(args ...interface{}) (n int, err error) {
	n, err = fmt.Fprint(a, args...)
	return n, err
}
func (a *Cursor) Println(args ...interface{}) (n int, err error) {
	n, err = fmt.Fprintln(a, args...)
	return n, err
}