func (s *Surface) LowerBlit(sr *Rect, dst *Surface, dr *Rect) error { if C.SDL_LowerBlit(s.c(), sr.c(), dst.c(), dr.c()) != 0 { return getError() } return nil }
func (src *Surface) LowerBlit(srcrect *Rect, dst *Surface, dstrect *Rect) int { _src := (*C.SDL_Surface)(unsafe.Pointer(src)) _srcrect := (*C.SDL_Rect)(unsafe.Pointer(srcrect)) _dst := (*C.SDL_Surface)(unsafe.Pointer(dst)) _dstrect := (*C.SDL_Rect)(unsafe.Pointer(dstrect)) return (int)(C.SDL_LowerBlit(_src, _srcrect, _dst, _dstrect)) }
func (src *Surface) LowerBlit(srcRect *Rect, dst *Surface, dstRect *Rect) int { return int(C.SDL_LowerBlit(src.cptr(), srcRect.cptr(), dst.cptr(), dstRect.cptr())) }
// Surface (https://wiki.libsdl.org/SDL_LowerBlit) func (src *Surface) LowerBlit(srcRect *Rect, dst *Surface, dstRect *Rect) error { if C.SDL_LowerBlit(src.cptr(), srcRect.cptr(), dst.cptr(), dstRect.cptr()) != 0 { return GetError() } return nil }