Exemplo n.º 1
0
func ShrinkSurface(src *sdl.Surface, factorx, factory int) *sdl.Surface {
	_factorx := C.int(factorx)
	_factory := C.int(factory)
	return (*sdl.Surface)(unsafe.Pointer(C.shrinkSurface(unsafe.Pointer(src), _factorx, _factory)))
}
Exemplo n.º 2
0
func ShrinkSurface(src *sdl.Surface, factorx, factory int) *sdl.Surface {
	return (*sdl.Surface)(ptr(C.shrinkSurface((*C.SDL_Surface)(ptr(src)), C.int(factorx), C.int(factory))))
}