// Renderer (https://wiki.libsdl.org/SDL_RenderSetLogicalSize) func (renderer *Renderer) SetLogicalSize(w int, h int) error { _ret := C.SDL_RenderSetLogicalSize(renderer.cptr(), C.int(w), C.int(h)) if _ret < 0 { return GetError() } return nil }
func (renderer *Renderer) SetLogicalSize(w int, h int) int { _renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer)) _w := (C.int)(w) _h := (C.int)(h) return (int)(C.SDL_RenderSetLogicalSize(_renderer, _w, _h)) }
func (r *Renderer) SetLogicalSize(w, h int) int { ret := C.SDL_RenderSetLogicalSize(r.cRenderer, C.int(w), C.int(h)) return int(ret) }
func (renderer *Renderer) SetLogicalSize(w int, h int) int { return int(C.SDL_RenderSetLogicalSize(renderer.cptr(), C.int(w), C.int(h))) }