public SDLTexture CreateTextureFromSurface(SDLSurface Surface) { return(new SDLTexture(SDL.SDL_CreateTextureFromSurface(myPtr, Surface.Ptr))); }
public void BlitScaled(SDLSurface dst) { Util.ThrowIfResultIsError(SDL.SDL_BlitScaled(myPtr, IntPtr.Zero, dst.Ptr, IntPtr.Zero)); }
public SDLCursor(SDLSurface Surface, int Hot_x, int Hot_y) { myPtr = SDL.SDL_CreateColorCursor(Surface.Ptr, Hot_x, Hot_y); CheckPtr(); }
public void LowerBlitScaled(ref SDL.SDL_Rect srcrect, SDLSurface dst, ref SDL.SDL_Rect dstrect) { Util.ThrowIfResultIsError(SDL.SDL_LowerBlitScaled(myPtr, ref srcrect, dst.Ptr, ref dstrect)); }
public void BlitSurface(ref SDL.SDL_Rect srcrect, SDLSurface dst, ref SDL.SDL_Rect dstrect) { Util.ThrowIfResultIsError(SDL.SDL_BlitSurface(myPtr, ref srcrect, dst.Ptr, ref dstrect)); }
public void BlitSurface(IntPtr srcrect, SDLSurface dst, IntPtr dstrect) { Util.ThrowIfResultIsError(SDL.SDL_BlitSurface(myPtr, srcrect, dst.Ptr, dstrect)); }
public void BlitScaled(ref SDL.SDL_Rect srcrect, SDLSurface dst, IntPtr dstrect) { Util.ThrowIfResultIsError(SDL.SDL_BlitScaled(myPtr, ref srcrect, dst.Ptr, dstrect)); }
public static SDLTexture CreateFromSurface(IntPtr Renderer, SDLSurface Surface) { return(new SDLTexture(SDL.SDL_CreateTextureFromSurface(Renderer, Surface.Ptr))); }