func (surface *Surface) GetClipRect(rect *Rect) { C.SDL_GetClipRect(surface.cptr(), rect.cptr()) }
// Gets the clipping rectangle for a surface. func (s *Surface) GetClipRect(r *Rect) { s.mutex.RLock() C.SDL_GetClipRect(s.cSurface, (*C.SDL_Rect)(cast(r))) s.mutex.RUnlock() }
// Gets the clipping rectangle for a surface. func (s *Surface) GetClipRect(r *Rect) { C.SDL_GetClipRect((*C.SDL_Surface)(cast(s)), (*C.SDL_Rect)(cast(r))) return }
func (surface *Surface) GetClipRect(rect *Rect) { _surface := (*C.SDL_Surface)(unsafe.Pointer(surface)) _rect := (*C.SDL_Rect)(unsafe.Pointer(rect)) C.SDL_GetClipRect(_surface, _rect) }
func (s *Surface) GetClipRect() *Rect { var rect Rect C.SDL_GetClipRect(s.c(), rect.c()) return &rect }
// Gets the clipping rectangle for a surface. func (s *Surface) GetClipRect(r *Rect) { C.SDL_GetClipRect(s.cSurface, (*C.SDL_Rect)(cast(r))) }
// Gets the clipping rectangle for the destination surface in a blit. // 'rect' must be a pointer to a valid rectangle which will be filled // with the correct values. func getClipRect(surface *C.SDL_Surface, rect *C.SDL_Rect) { C.SDL_GetClipRect(surface, rect) }