// Renderer (https://wiki.libsdl.org/SDL_RenderDrawPoint) func (renderer *Renderer) DrawPoint(x, y int) error { _ret := C.SDL_RenderDrawPoint(renderer.cptr(), C.int(x), C.int(y)) if _ret < 0 { return GetError() } return nil }
func (r *Renderer) DrawPoint(x, y int) error { if C.SDL_RenderDrawPoint(r.c, C.int(x), C.int(y)) != 0 { return getError() } return nil }
func RenderDrawPoint(_renderer *Renderer, _x, _y int) { C.SDL_RenderDrawPoint(_renderer.Get(), C.int(_x), C.int(_y)) }
func (r *Renderer) DrawPoint(x, y int) bool { ret := C.SDL_RenderDrawPoint(r.cRenderer, C.int(x), C.int(y)) return int(ret) == 0 }
func (renderer *Renderer) DrawPoint(x, y int) int { _renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer)) _x := (C.int)(x) _y := (C.int)(y) return (int)(C.SDL_RenderDrawPoint(_renderer, _x, _y)) }
func (renderer *Renderer) DrawPoint(x, y int) int { return int(C.SDL_RenderDrawPoint(renderer.cptr(), C.int(x), C.int(y))) }