canvas.go
func SetScreenSize(width int, height int) {
	if canvas.width == width && canvas.height == height {
		return
	}

	canvas.width = width
	canvas.height = height

	canvas.clipStack = make([]rect, 0)
	SetClipRect(0, 0, width, height)
}
func SetScreenSize(width int, height int) {
	if canvas.width == width && canvas.height == height {
		return
	}

	canvas.width = width
	canvas.height = height

	canvas.clipStack = make([]rect, 0)
	SetClipRect(0, 0, width, height)
}
// SetSize sets the new Canvas size. If new size does not
// equal old size then Canvas is recreated and cleared
// with default colors. Both Canvas width and height must
// be greater than 2