func RotozoomSurface(src *sdl.Surface, angle, zoom float64, smooth bool) *sdl.Surface { return (*sdl.Surface)(ptr(C.rotozoomSurface((*C.SDL_Surface)(ptr(src)), C.double(angle), C.double(zoom), b2ci(smooth)))) }
func RotoZoomSurface(src *sdl.Surface, angle, zoom float64, smooth int) *sdl.Surface { _angle := C.double(angle) _zoom := C.double(zoom) _smooth := C.int(smooth) return (*sdl.Surface)(unsafe.Pointer(C.rotozoomSurface(unsafe.Pointer(src), _angle, _zoom, _smooth))) }
func (me *Canvas) DrawImageRotoZoom(img *Image, x, y int, angle, zoom float64, smooth int) { var newImage Image newImage.img = C.rotozoomSurface(img.img, C.double(angle), C.double(zoom), C.int(smooth)) me.DrawImage(&newImage, x, y) }