Exemplo n.º 1
0
 public SDLTexture CreateTextureFromSurface(SDLSurface Surface)
 {
     return(new SDLTexture(SDL.SDL_CreateTextureFromSurface(myPtr, Surface.Ptr)));
 }
Exemplo n.º 2
0
 public void BlitScaled(SDLSurface dst)
 {
     Util.ThrowIfResultIsError(SDL.SDL_BlitScaled(myPtr, IntPtr.Zero, dst.Ptr, IntPtr.Zero));
 }
Exemplo n.º 3
0
        public SDLCursor(SDLSurface Surface, int Hot_x, int Hot_y)
        {
            myPtr = SDL.SDL_CreateColorCursor(Surface.Ptr, Hot_x, Hot_y);

            CheckPtr();
        }
Exemplo n.º 4
0
 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));
 }
Exemplo n.º 5
0
 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));
 }
Exemplo n.º 6
0
 public void BlitSurface(IntPtr srcrect, SDLSurface dst, IntPtr dstrect)
 {
     Util.ThrowIfResultIsError(SDL.SDL_BlitSurface(myPtr, srcrect, dst.Ptr, dstrect));
 }
Exemplo n.º 7
0
 public void BlitScaled(ref SDL.SDL_Rect srcrect, SDLSurface dst, IntPtr dstrect)
 {
     Util.ThrowIfResultIsError(SDL.SDL_BlitScaled(myPtr, ref srcrect, dst.Ptr, dstrect));
 }
Exemplo n.º 8
0
 public static SDLTexture CreateFromSurface(IntPtr Renderer, SDLSurface Surface)
 {
     return(new SDLTexture(SDL.SDL_CreateTextureFromSurface(Renderer, Surface.Ptr)));
 }