func ClearTo(image Image, c Color) { C._BlatColor(image, 0, 0, C._32(image.width), C._32(image.height), C.CDATA(c.rgba)) }
func FillRect(image Image, x, y int, w, h uint, c Color) { fmt.Println("image is ", image, " color is ", c.rgba) C._BlatColor(image, C.S_32(x), C.S_32(y), C._32(w), C._32(h), C.CDATA(c.rgba)) }
func Clear(image Image) { C._BlatColor(image, 0, 0, C._32(image.width), C._32(image.height), 0) }