Package org.lwjgl.sdl

Class SDLSurface

java.lang.Object
org.lwjgl.sdl.SDLSurface

public class SDLSurface extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from SDL.getLibrary().
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    nSDL_AddSurfaceAlternateImage(long surface, long image)
    bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)
    static boolean
    nSDL_BlitSurface(long src, long srcrect, long dst, long dstrect)
    bool SDL_BlitSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    nSDL_BlitSurface9Grid(long src, long srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, int scaleMode, long dst, long dstrect)
    bool SDL_BlitSurface9Grid(SDL_Surface * src, SDL_Rect const * srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    nSDL_BlitSurfaceScaled(long src, long srcrect, long dst, long dstrect, int scaleMode)
    bool SDL_BlitSurfaceScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    nSDL_BlitSurfaceTiled(long src, long srcrect, long dst, long dstrect)
    bool SDL_BlitSurfaceTiled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    nSDL_BlitSurfaceTiledWithScale(long src, long srcrect, float scale, int scaleMode, long dst, long dstrect)
    bool SDL_BlitSurfaceTiledWithScale(SDL_Surface * src, SDL_Rect const * srcrect, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    nSDL_BlitSurfaceUnchecked(long src, long srcrect, long dst, long dstrect)
    bool SDL_BlitSurfaceUnchecked(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    nSDL_BlitSurfaceUncheckedScaled(long src, long srcrect, long dst, long dstrect, int scaleMode)
    bool SDL_BlitSurfaceUncheckedScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    nSDL_ClearSurface(long surface, float r, float g, float b, float a)
    bool SDL_ClearSurface(SDL_Surface * surface, float r, float g, float b, float a)
    static boolean
    nSDL_ConvertPixels(int width, int height, int src_format, long src, int src_pitch, int dst_format, long dst, int dst_pitch)
    bool SDL_ConvertPixels(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch)
    static boolean
    nSDL_ConvertPixelsAndColorspace(int width, int height, int src_format, int src_colorspace, int src_properties, long src, int src_pitch, int dst_format, int dst_colorspace, int dst_properties, long dst, int dst_pitch)
    bool SDL_ConvertPixelsAndColorspace(int width, int height, SDL_PixelFormat src_format, SDL_Colorspace src_colorspace, SDL_PropertiesID src_properties, void const * src, int src_pitch, SDL_PixelFormat dst_format, SDL_Colorspace dst_colorspace, SDL_PropertiesID dst_properties, void * dst, int dst_pitch)
    static long
    nSDL_ConvertSurface(long surface, int format)
    SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)
    static long
    nSDL_ConvertSurfaceAndColorspace(long surface, int format, long palette, int colorspace, int props)
    SDL_Surface * SDL_ConvertSurfaceAndColorspace(SDL_Surface * surface, SDL_PixelFormat format, SDL_Palette * palette, SDL_Colorspace colorspace, SDL_PropertiesID props)
    static long
    nSDL_CreateSurface(int width, int height, int format)
    SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)
    static long
    nSDL_CreateSurfaceFrom(int width, int height, int format, long pixels, int pitch)
    SDL_Surface * SDL_CreateSurfaceFrom(int width, int height, SDL_PixelFormat format, void * pixels, int pitch)
    static long
    SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)
    static void
    nSDL_DestroySurface(long surface)
    void SDL_DestroySurface(SDL_Surface * surface)
    static long
    nSDL_DuplicateSurface(long surface)
    SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)
    static boolean
    nSDL_FillSurfaceRect(long dst, long rect, int color)
    bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)
    static boolean
    nSDL_FillSurfaceRects(long dst, long rects, int count, int color)
    bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)
    static boolean
    nSDL_FlipSurface(long surface, int flip)
    bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)
    static boolean
    nSDL_GetSurfaceAlphaMod(long surface, long alpha)
    bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)
    static boolean
    nSDL_GetSurfaceBlendMode(long surface, long blendMode)
    bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)
    static boolean
    nSDL_GetSurfaceClipRect(long surface, long rect)
    bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)
    static boolean
    nSDL_GetSurfaceColorKey(long surface, long key)
    bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)
    static boolean
    nSDL_GetSurfaceColorMod(long surface, long r, long g, long b)
    bool SDL_GetSurfaceColorMod(SDL_Surface * surface, Uint8 * r, Uint8 * g, Uint8 * b)
    static int
    SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)
    static long
    nSDL_GetSurfaceImages(long surface, long count)
    SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)
    static long
    nSDL_GetSurfacePalette(long surface)
    SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)
    static int
    SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)
    static long
    nSDL_LoadBMP(long file)
    SDL_Surface * SDL_LoadBMP(char const * file)
    static long
    nSDL_LoadBMP_IO(long src, boolean closeio)
    SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)
    static boolean
    nSDL_LockSurface(long surface)
    bool SDL_LockSurface(SDL_Surface * surface)
    static int
    nSDL_MapSurfaceRGB(long surface, byte r, byte g, byte b)
    Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    static int
    nSDL_MapSurfaceRGBA(long surface, byte r, byte g, byte b, byte a)
    Uint32 SDL_MapSurfaceRGBA(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    static boolean
    nSDL_PremultiplyAlpha(int width, int height, int src_format, long src, int src_pitch, int dst_format, long dst, int dst_pitch, boolean linear)
    bool SDL_PremultiplyAlpha(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch, bool linear)
    static boolean
    nSDL_PremultiplySurfaceAlpha(long surface, boolean linear)
    bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)
    static boolean
    nSDL_ReadSurfacePixel(long surface, int x, int y, long r, long g, long b, long a)
    bool SDL_ReadSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
    static boolean
    nSDL_ReadSurfacePixelFloat(long surface, int x, int y, long r, long g, long b, long a)
    bool SDL_ReadSurfacePixelFloat(SDL_Surface * surface, int x, int y, float * r, float * g, float * b, float * a)
    static void
    void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)
    static boolean
    nSDL_SaveBMP(long surface, long file)
    bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    static boolean
    nSDL_SaveBMP_IO(long surface, long dst, boolean closeio)
    bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)
    static long
    nSDL_ScaleSurface(long surface, int width, int height, int scaleMode)
    SDL_Surface * SDL_ScaleSurface(SDL_Surface * surface, int width, int height, SDL_ScaleMode scaleMode)
    static boolean
    nSDL_SetSurfaceAlphaMod(long surface, byte alpha)
    bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)
    static boolean
    nSDL_SetSurfaceBlendMode(long surface, int blendMode)
    bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)
    static boolean
    nSDL_SetSurfaceClipRect(long surface, long rect)
    bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)
    static boolean
    nSDL_SetSurfaceColorKey(long surface, boolean enabled, int key)
    bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)
    static boolean
    nSDL_SetSurfaceColorMod(long surface, byte r, byte g, byte b)
    bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    static boolean
    nSDL_SetSurfaceColorspace(long surface, int colorspace)
    bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)
    static boolean
    nSDL_SetSurfacePalette(long surface, long palette)
    bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)
    static boolean
    nSDL_SetSurfaceRLE(long surface, boolean enabled)
    bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)
    static boolean
    nSDL_StretchSurface(long src, long srcrect, long dst, long dstrect, int scaleMode)
    bool SDL_StretchSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)
    static boolean
    bool SDL_SurfaceHasColorKey(SDL_Surface * surface)
    static boolean
    nSDL_SurfaceHasRLE(long surface)
    bool SDL_SurfaceHasRLE(SDL_Surface * surface)
    static void
    nSDL_UnlockSurface(long surface)
    void SDL_UnlockSurface(SDL_Surface * surface)
    static boolean
    nSDL_WriteSurfacePixel(long surface, int x, int y, byte r, byte g, byte b, byte a)
    bool SDL_WriteSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    static boolean
    nSDL_WriteSurfacePixelFloat(long surface, int x, int y, float r, float g, float b, float a)
    bool SDL_WriteSurfacePixelFloat(SDL_Surface * surface, int x, int y, float r, float g, float b, float a)
    static boolean
    bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)
    static boolean
    SDL_BlitSurface(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect)
    bool SDL_BlitSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    SDL_BlitSurface9Grid(SDL_Surface src, @Nullable SDL_Rect srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, int scaleMode, SDL_Surface dst, @Nullable SDL_Rect dstrect)
    bool SDL_BlitSurface9Grid(SDL_Surface * src, SDL_Rect const * srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    SDL_BlitSurfaceScaled(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect, int scaleMode)
    bool SDL_BlitSurfaceScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    SDL_BlitSurfaceTiled(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect)
    bool SDL_BlitSurfaceTiled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    SDL_BlitSurfaceTiledWithScale(SDL_Surface src, @Nullable SDL_Rect srcrect, float scale, int scaleMode, SDL_Surface dst, @Nullable SDL_Rect dstrect)
    bool SDL_BlitSurfaceTiledWithScale(SDL_Surface * src, SDL_Rect const * srcrect, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    bool SDL_BlitSurfaceUnchecked(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    static boolean
    SDL_BlitSurfaceUncheckedScaled(SDL_Surface src, SDL_Rect srcrect, SDL_Surface dst, SDL_Rect dstrect, int scaleMode)
    bool SDL_BlitSurfaceUncheckedScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    SDL_ClearSurface(SDL_Surface surface, float r, float g, float b, float a)
    bool SDL_ClearSurface(SDL_Surface * surface, float r, float g, float b, float a)
    static boolean
    SDL_ConvertPixels(int width, int height, int src_format, ByteBuffer src, int src_pitch, int dst_format, ByteBuffer dst, int dst_pitch)
    bool SDL_ConvertPixels(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch)
    static boolean
    SDL_ConvertPixelsAndColorspace(int width, int height, int src_format, int src_colorspace, int src_properties, ByteBuffer src, int src_pitch, int dst_format, int dst_colorspace, int dst_properties, ByteBuffer dst, int dst_pitch)
    bool SDL_ConvertPixelsAndColorspace(int width, int height, SDL_PixelFormat src_format, SDL_Colorspace src_colorspace, SDL_PropertiesID src_properties, void const * src, int src_pitch, SDL_PixelFormat dst_format, SDL_Colorspace dst_colorspace, SDL_PropertiesID dst_properties, void * dst, int dst_pitch)
    static @Nullable SDL_Surface
    SDL_ConvertSurface(SDL_Surface surface, int format)
    SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)
    static @Nullable SDL_Surface
    SDL_ConvertSurfaceAndColorspace(SDL_Surface surface, int format, @Nullable SDL_Palette palette, int colorspace, int props)
    SDL_Surface * SDL_ConvertSurfaceAndColorspace(SDL_Surface * surface, SDL_PixelFormat format, SDL_Palette * palette, SDL_Colorspace colorspace, SDL_PropertiesID props)
    static @Nullable SDL_Surface
    SDL_CreateSurface(int width, int height, int format)
    SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)
    static @Nullable SDL_Surface
    SDL_CreateSurfaceFrom(int width, int height, int format, @Nullable ByteBuffer pixels, int pitch)
    SDL_Surface * SDL_CreateSurfaceFrom(int width, int height, SDL_PixelFormat format, void * pixels, int pitch)
    static @Nullable SDL_Palette
    SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)
    static void
    void SDL_DestroySurface(SDL_Surface * surface)
    static @Nullable SDL_Surface
    SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)
    static boolean
    SDL_FillSurfaceRect(SDL_Surface dst, @Nullable SDL_Rect rect, int color)
    bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)
    static boolean
    bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)
    static boolean
    SDL_FlipSurface(SDL_Surface surface, int flip)
    bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)
    static boolean
    SDL_GetSurfaceAlphaMod(SDL_Surface surface, @Nullable ByteBuffer alpha)
    bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)
    static boolean
    SDL_GetSurfaceBlendMode(SDL_Surface surface, @Nullable IntBuffer blendMode)
    bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)
    static boolean
    bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)
    static boolean
    SDL_GetSurfaceColorKey(SDL_Surface surface, @Nullable IntBuffer key)
    bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)
    static boolean
    SDL_GetSurfaceColorMod(SDL_Surface surface, @Nullable ByteBuffer r, @Nullable ByteBuffer g, @Nullable ByteBuffer b)
    bool SDL_GetSurfaceColorMod(SDL_Surface * surface, Uint8 * r, Uint8 * g, Uint8 * b)
    static int
    SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)
    static @Nullable PointerBuffer
    SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)
    static @Nullable SDL_Palette
    SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)
    static int
    SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)
    static @Nullable SDL_Surface
    SDL_Surface * SDL_LoadBMP(char const * file)
    static @Nullable SDL_Surface
    SDL_Surface * SDL_LoadBMP(char const * file)
    static @Nullable SDL_Surface
    SDL_LoadBMP_IO(long src, boolean closeio)
    SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)
    static boolean
    bool SDL_LockSurface(SDL_Surface * surface)
    static int
    SDL_MapSurfaceRGB(SDL_Surface surface, byte r, byte g, byte b)
    Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    static int
    SDL_MapSurfaceRGBA(SDL_Surface surface, byte r, byte g, byte b, byte a)
    Uint32 SDL_MapSurfaceRGBA(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    static boolean
    bool SDL_MUSTLOCK(SDL_Surface S)
    static boolean
    SDL_PremultiplyAlpha(int width, int height, int src_format, ByteBuffer src, int src_pitch, int dst_format, ByteBuffer dst, int dst_pitch, boolean linear)
    bool SDL_PremultiplyAlpha(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch, bool linear)
    static boolean
    SDL_PremultiplySurfaceAlpha(SDL_Surface surface, boolean linear)
    bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)
    static boolean
    SDL_ReadSurfacePixel(SDL_Surface surface, int x, int y, @Nullable ByteBuffer r, @Nullable ByteBuffer g, @Nullable ByteBuffer b, @Nullable ByteBuffer a)
    bool SDL_ReadSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
    static boolean
    SDL_ReadSurfacePixelFloat(SDL_Surface surface, int x, int y, @Nullable FloatBuffer r, @Nullable FloatBuffer g, @Nullable FloatBuffer b, @Nullable FloatBuffer a)
    bool SDL_ReadSurfacePixelFloat(SDL_Surface * surface, int x, int y, float * r, float * g, float * b, float * a)
    static void
    void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)
    static boolean
    bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    static boolean
    bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    static boolean
    SDL_SaveBMP_IO(SDL_Surface surface, long dst, boolean closeio)
    bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)
    static @Nullable SDL_Surface
    SDL_ScaleSurface(SDL_Surface surface, int width, int height, int scaleMode)
    SDL_Surface * SDL_ScaleSurface(SDL_Surface * surface, int width, int height, SDL_ScaleMode scaleMode)
    static boolean
    SDL_SetSurfaceAlphaMod(SDL_Surface surface, byte alpha)
    bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)
    static boolean
    SDL_SetSurfaceBlendMode(SDL_Surface surface, int blendMode)
    bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)
    static boolean
    bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)
    static boolean
    SDL_SetSurfaceColorKey(SDL_Surface surface, boolean enabled, int key)
    bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)
    static boolean
    SDL_SetSurfaceColorMod(SDL_Surface surface, byte r, byte g, byte b)
    bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    static boolean
    SDL_SetSurfaceColorspace(SDL_Surface surface, int colorspace)
    bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)
    static boolean
    SDL_SetSurfacePalette(SDL_Surface surface, @Nullable SDL_Palette palette)
    bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)
    static boolean
    SDL_SetSurfaceRLE(SDL_Surface surface, boolean enabled)
    bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)
    static boolean
    SDL_StretchSurface(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect, int scaleMode)
    bool SDL_StretchSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    static boolean
    bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)
    static boolean
    bool SDL_SurfaceHasColorKey(SDL_Surface * surface)
    static boolean
    bool SDL_SurfaceHasRLE(SDL_Surface * surface)
    static void
    void SDL_UnlockSurface(SDL_Surface * surface)
    static boolean
    SDL_WriteSurfacePixel(SDL_Surface surface, int x, int y, byte r, byte g, byte b, byte a)
    bool SDL_WriteSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    static boolean
    SDL_WriteSurfacePixelFloat(SDL_Surface surface, int x, int y, float r, float g, float b, float a)
    bool SDL_WriteSurfacePixelFloat(SDL_Surface * surface, int x, int y, float r, float g, float b, float a)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • nSDL_CreateSurface

      public static long nSDL_CreateSurface(int width, int height, int format)
      SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)
    • SDL_CreateSurface

      public static @Nullable SDL_Surface SDL_CreateSurface(int width, int height, int format)
      SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)
    • nSDL_CreateSurfaceFrom

      public static long nSDL_CreateSurfaceFrom(int width, int height, int format, long pixels, int pitch)
      SDL_Surface * SDL_CreateSurfaceFrom(int width, int height, SDL_PixelFormat format, void * pixels, int pitch)
    • SDL_CreateSurfaceFrom

      public static @Nullable SDL_Surface SDL_CreateSurfaceFrom(int width, int height, int format, @Nullable ByteBuffer pixels, int pitch)
      SDL_Surface * SDL_CreateSurfaceFrom(int width, int height, SDL_PixelFormat format, void * pixels, int pitch)
    • nSDL_DestroySurface

      public static void nSDL_DestroySurface(long surface)
      void SDL_DestroySurface(SDL_Surface * surface)
    • SDL_DestroySurface

      public static void SDL_DestroySurface(SDL_Surface surface)
      void SDL_DestroySurface(SDL_Surface * surface)
    • nSDL_GetSurfaceProperties

      public static int nSDL_GetSurfaceProperties(long surface)
      SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)
    • SDL_GetSurfaceProperties

      public static int SDL_GetSurfaceProperties(SDL_Surface surface)
      SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)
    • nSDL_SetSurfaceColorspace

      public static boolean nSDL_SetSurfaceColorspace(long surface, int colorspace)
      bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)
    • SDL_SetSurfaceColorspace

      public static boolean SDL_SetSurfaceColorspace(SDL_Surface surface, int colorspace)
      bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)
    • nSDL_GetSurfaceColorspace

      public static int nSDL_GetSurfaceColorspace(long surface)
      SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)
    • SDL_GetSurfaceColorspace

      public static int SDL_GetSurfaceColorspace(SDL_Surface surface)
      SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)
    • nSDL_CreateSurfacePalette

      public static long nSDL_CreateSurfacePalette(long surface)
      SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)
    • SDL_CreateSurfacePalette

      public static @Nullable SDL_Palette SDL_CreateSurfacePalette(SDL_Surface surface)
      SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)
    • nSDL_SetSurfacePalette

      public static boolean nSDL_SetSurfacePalette(long surface, long palette)
      bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)
    • SDL_SetSurfacePalette

      public static boolean SDL_SetSurfacePalette(SDL_Surface surface, @Nullable SDL_Palette palette)
      bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)
    • nSDL_GetSurfacePalette

      public static long nSDL_GetSurfacePalette(long surface)
      SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)
    • SDL_GetSurfacePalette

      public static @Nullable SDL_Palette SDL_GetSurfacePalette(SDL_Surface surface)
      SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)
    • nSDL_AddSurfaceAlternateImage

      public static boolean nSDL_AddSurfaceAlternateImage(long surface, long image)
      bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)
    • SDL_AddSurfaceAlternateImage

      public static boolean SDL_AddSurfaceAlternateImage(SDL_Surface surface, SDL_Surface image)
      bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)
    • nSDL_SurfaceHasAlternateImages

      public static boolean nSDL_SurfaceHasAlternateImages(long surface)
      bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)
    • SDL_SurfaceHasAlternateImages

      public static boolean SDL_SurfaceHasAlternateImages(SDL_Surface surface)
      bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)
    • nSDL_GetSurfaceImages

      public static long nSDL_GetSurfaceImages(long surface, long count)
      SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)
    • SDL_GetSurfaceImages

      public static @Nullable PointerBuffer SDL_GetSurfaceImages(SDL_Surface surface)
      SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)
    • nSDL_RemoveSurfaceAlternateImages

      public static void nSDL_RemoveSurfaceAlternateImages(long surface)
      void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)
    • SDL_RemoveSurfaceAlternateImages

      public static void SDL_RemoveSurfaceAlternateImages(SDL_Surface surface)
      void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)
    • nSDL_LockSurface

      public static boolean nSDL_LockSurface(long surface)
      bool SDL_LockSurface(SDL_Surface * surface)
    • SDL_LockSurface

      public static boolean SDL_LockSurface(SDL_Surface surface)
      bool SDL_LockSurface(SDL_Surface * surface)
    • nSDL_UnlockSurface

      public static void nSDL_UnlockSurface(long surface)
      void SDL_UnlockSurface(SDL_Surface * surface)
    • SDL_UnlockSurface

      public static void SDL_UnlockSurface(SDL_Surface surface)
      void SDL_UnlockSurface(SDL_Surface * surface)
    • nSDL_LoadBMP_IO

      public static long nSDL_LoadBMP_IO(long src, boolean closeio)
      SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)
    • SDL_LoadBMP_IO

      public static @Nullable SDL_Surface SDL_LoadBMP_IO(long src, boolean closeio)
      SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)
    • nSDL_LoadBMP

      public static long nSDL_LoadBMP(long file)
      SDL_Surface * SDL_LoadBMP(char const * file)
    • SDL_LoadBMP

      public static @Nullable SDL_Surface SDL_LoadBMP(ByteBuffer file)
      SDL_Surface * SDL_LoadBMP(char const * file)
    • SDL_LoadBMP

      public static @Nullable SDL_Surface SDL_LoadBMP(CharSequence file)
      SDL_Surface * SDL_LoadBMP(char const * file)
    • nSDL_SaveBMP_IO

      public static boolean nSDL_SaveBMP_IO(long surface, long dst, boolean closeio)
      bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)
    • SDL_SaveBMP_IO

      public static boolean SDL_SaveBMP_IO(SDL_Surface surface, long dst, boolean closeio)
      bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)
    • nSDL_SaveBMP

      public static boolean nSDL_SaveBMP(long surface, long file)
      bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    • SDL_SaveBMP

      public static boolean SDL_SaveBMP(SDL_Surface surface, ByteBuffer file)
      bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    • SDL_SaveBMP

      public static boolean SDL_SaveBMP(SDL_Surface surface, CharSequence file)
      bool SDL_SaveBMP(SDL_Surface * surface, char const * file)
    • nSDL_SetSurfaceRLE

      public static boolean nSDL_SetSurfaceRLE(long surface, boolean enabled)
      bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)
    • SDL_SetSurfaceRLE

      public static boolean SDL_SetSurfaceRLE(SDL_Surface surface, boolean enabled)
      bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)
    • nSDL_SurfaceHasRLE

      public static boolean nSDL_SurfaceHasRLE(long surface)
      bool SDL_SurfaceHasRLE(SDL_Surface * surface)
    • SDL_SurfaceHasRLE

      public static boolean SDL_SurfaceHasRLE(SDL_Surface surface)
      bool SDL_SurfaceHasRLE(SDL_Surface * surface)
    • nSDL_SetSurfaceColorKey

      public static boolean nSDL_SetSurfaceColorKey(long surface, boolean enabled, int key)
      bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)
    • SDL_SetSurfaceColorKey

      public static boolean SDL_SetSurfaceColorKey(SDL_Surface surface, boolean enabled, int key)
      bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)
    • nSDL_SurfaceHasColorKey

      public static boolean nSDL_SurfaceHasColorKey(long surface)
      bool SDL_SurfaceHasColorKey(SDL_Surface * surface)
    • SDL_SurfaceHasColorKey

      public static boolean SDL_SurfaceHasColorKey(SDL_Surface surface)
      bool SDL_SurfaceHasColorKey(SDL_Surface * surface)
    • nSDL_GetSurfaceColorKey

      public static boolean nSDL_GetSurfaceColorKey(long surface, long key)
      bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)
    • SDL_GetSurfaceColorKey

      public static boolean SDL_GetSurfaceColorKey(SDL_Surface surface, @Nullable IntBuffer key)
      bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)
    • nSDL_SetSurfaceColorMod

      public static boolean nSDL_SetSurfaceColorMod(long surface, byte r, byte g, byte b)
      bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    • SDL_SetSurfaceColorMod

      public static boolean SDL_SetSurfaceColorMod(SDL_Surface surface, byte r, byte g, byte b)
      bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    • nSDL_GetSurfaceColorMod

      public static boolean nSDL_GetSurfaceColorMod(long surface, long r, long g, long b)
      bool SDL_GetSurfaceColorMod(SDL_Surface * surface, Uint8 * r, Uint8 * g, Uint8 * b)
    • SDL_GetSurfaceColorMod

      public static boolean SDL_GetSurfaceColorMod(SDL_Surface surface, @Nullable ByteBuffer r, @Nullable ByteBuffer g, @Nullable ByteBuffer b)
      bool SDL_GetSurfaceColorMod(SDL_Surface * surface, Uint8 * r, Uint8 * g, Uint8 * b)
    • nSDL_SetSurfaceAlphaMod

      public static boolean nSDL_SetSurfaceAlphaMod(long surface, byte alpha)
      bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)
    • SDL_SetSurfaceAlphaMod

      public static boolean SDL_SetSurfaceAlphaMod(SDL_Surface surface, byte alpha)
      bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)
    • nSDL_GetSurfaceAlphaMod

      public static boolean nSDL_GetSurfaceAlphaMod(long surface, long alpha)
      bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)
    • SDL_GetSurfaceAlphaMod

      public static boolean SDL_GetSurfaceAlphaMod(SDL_Surface surface, @Nullable ByteBuffer alpha)
      bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)
    • nSDL_SetSurfaceBlendMode

      public static boolean nSDL_SetSurfaceBlendMode(long surface, int blendMode)
      bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)
    • SDL_SetSurfaceBlendMode

      public static boolean SDL_SetSurfaceBlendMode(SDL_Surface surface, int blendMode)
      bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)
    • nSDL_GetSurfaceBlendMode

      public static boolean nSDL_GetSurfaceBlendMode(long surface, long blendMode)
      bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)
    • SDL_GetSurfaceBlendMode

      public static boolean SDL_GetSurfaceBlendMode(SDL_Surface surface, @Nullable IntBuffer blendMode)
      bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)
    • nSDL_SetSurfaceClipRect

      public static boolean nSDL_SetSurfaceClipRect(long surface, long rect)
      bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)
    • SDL_SetSurfaceClipRect

      public static boolean SDL_SetSurfaceClipRect(SDL_Surface surface, SDL_Rect rect)
      bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)
    • nSDL_GetSurfaceClipRect

      public static boolean nSDL_GetSurfaceClipRect(long surface, long rect)
      bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)
    • SDL_GetSurfaceClipRect

      public static boolean SDL_GetSurfaceClipRect(SDL_Surface surface, SDL_Rect rect)
      bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)
    • nSDL_FlipSurface

      public static boolean nSDL_FlipSurface(long surface, int flip)
      bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)
    • SDL_FlipSurface

      public static boolean SDL_FlipSurface(SDL_Surface surface, int flip)
      bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)
    • nSDL_DuplicateSurface

      public static long nSDL_DuplicateSurface(long surface)
      SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)
    • SDL_DuplicateSurface

      public static @Nullable SDL_Surface SDL_DuplicateSurface(SDL_Surface surface)
      SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)
    • nSDL_ScaleSurface

      public static long nSDL_ScaleSurface(long surface, int width, int height, int scaleMode)
      SDL_Surface * SDL_ScaleSurface(SDL_Surface * surface, int width, int height, SDL_ScaleMode scaleMode)
    • SDL_ScaleSurface

      public static @Nullable SDL_Surface SDL_ScaleSurface(SDL_Surface surface, int width, int height, int scaleMode)
      SDL_Surface * SDL_ScaleSurface(SDL_Surface * surface, int width, int height, SDL_ScaleMode scaleMode)
    • nSDL_ConvertSurface

      public static long nSDL_ConvertSurface(long surface, int format)
      SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)
    • SDL_ConvertSurface

      public static @Nullable SDL_Surface SDL_ConvertSurface(SDL_Surface surface, int format)
      SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)
    • nSDL_ConvertSurfaceAndColorspace

      public static long nSDL_ConvertSurfaceAndColorspace(long surface, int format, long palette, int colorspace, int props)
      SDL_Surface * SDL_ConvertSurfaceAndColorspace(SDL_Surface * surface, SDL_PixelFormat format, SDL_Palette * palette, SDL_Colorspace colorspace, SDL_PropertiesID props)
    • SDL_ConvertSurfaceAndColorspace

      public static @Nullable SDL_Surface SDL_ConvertSurfaceAndColorspace(SDL_Surface surface, int format, @Nullable SDL_Palette palette, int colorspace, int props)
      SDL_Surface * SDL_ConvertSurfaceAndColorspace(SDL_Surface * surface, SDL_PixelFormat format, SDL_Palette * palette, SDL_Colorspace colorspace, SDL_PropertiesID props)
    • nSDL_ConvertPixels

      public static boolean nSDL_ConvertPixels(int width, int height, int src_format, long src, int src_pitch, int dst_format, long dst, int dst_pitch)
      bool SDL_ConvertPixels(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch)
    • SDL_ConvertPixels

      public static boolean SDL_ConvertPixels(int width, int height, int src_format, ByteBuffer src, int src_pitch, int dst_format, ByteBuffer dst, int dst_pitch)
      bool SDL_ConvertPixels(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch)
    • nSDL_ConvertPixelsAndColorspace

      public static boolean nSDL_ConvertPixelsAndColorspace(int width, int height, int src_format, int src_colorspace, int src_properties, long src, int src_pitch, int dst_format, int dst_colorspace, int dst_properties, long dst, int dst_pitch)
      bool SDL_ConvertPixelsAndColorspace(int width, int height, SDL_PixelFormat src_format, SDL_Colorspace src_colorspace, SDL_PropertiesID src_properties, void const * src, int src_pitch, SDL_PixelFormat dst_format, SDL_Colorspace dst_colorspace, SDL_PropertiesID dst_properties, void * dst, int dst_pitch)
    • SDL_ConvertPixelsAndColorspace

      public static boolean SDL_ConvertPixelsAndColorspace(int width, int height, int src_format, int src_colorspace, int src_properties, ByteBuffer src, int src_pitch, int dst_format, int dst_colorspace, int dst_properties, ByteBuffer dst, int dst_pitch)
      bool SDL_ConvertPixelsAndColorspace(int width, int height, SDL_PixelFormat src_format, SDL_Colorspace src_colorspace, SDL_PropertiesID src_properties, void const * src, int src_pitch, SDL_PixelFormat dst_format, SDL_Colorspace dst_colorspace, SDL_PropertiesID dst_properties, void * dst, int dst_pitch)
    • nSDL_PremultiplyAlpha

      public static boolean nSDL_PremultiplyAlpha(int width, int height, int src_format, long src, int src_pitch, int dst_format, long dst, int dst_pitch, boolean linear)
      bool SDL_PremultiplyAlpha(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch, bool linear)
    • SDL_PremultiplyAlpha

      public static boolean SDL_PremultiplyAlpha(int width, int height, int src_format, ByteBuffer src, int src_pitch, int dst_format, ByteBuffer dst, int dst_pitch, boolean linear)
      bool SDL_PremultiplyAlpha(int width, int height, SDL_PixelFormat src_format, void const * src, int src_pitch, SDL_PixelFormat dst_format, void * dst, int dst_pitch, bool linear)
    • nSDL_PremultiplySurfaceAlpha

      public static boolean nSDL_PremultiplySurfaceAlpha(long surface, boolean linear)
      bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)
    • SDL_PremultiplySurfaceAlpha

      public static boolean SDL_PremultiplySurfaceAlpha(SDL_Surface surface, boolean linear)
      bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)
    • nSDL_ClearSurface

      public static boolean nSDL_ClearSurface(long surface, float r, float g, float b, float a)
      bool SDL_ClearSurface(SDL_Surface * surface, float r, float g, float b, float a)
    • SDL_ClearSurface

      public static boolean SDL_ClearSurface(SDL_Surface surface, float r, float g, float b, float a)
      bool SDL_ClearSurface(SDL_Surface * surface, float r, float g, float b, float a)
    • nSDL_FillSurfaceRect

      public static boolean nSDL_FillSurfaceRect(long dst, long rect, int color)
      bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)
    • SDL_FillSurfaceRect

      public static boolean SDL_FillSurfaceRect(SDL_Surface dst, @Nullable SDL_Rect rect, int color)
      bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)
    • nSDL_FillSurfaceRects

      public static boolean nSDL_FillSurfaceRects(long dst, long rects, int count, int color)
      bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)
    • SDL_FillSurfaceRects

      public static boolean SDL_FillSurfaceRects(SDL_Surface dst, SDL_Rect.Buffer rects, int color)
      bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)
    • nSDL_BlitSurface

      public static boolean nSDL_BlitSurface(long src, long srcrect, long dst, long dstrect)
      bool SDL_BlitSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • SDL_BlitSurface

      public static boolean SDL_BlitSurface(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect)
      bool SDL_BlitSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • nSDL_BlitSurfaceUnchecked

      public static boolean nSDL_BlitSurfaceUnchecked(long src, long srcrect, long dst, long dstrect)
      bool SDL_BlitSurfaceUnchecked(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • SDL_BlitSurfaceUnchecked

      public static boolean SDL_BlitSurfaceUnchecked(SDL_Surface src, SDL_Rect srcrect, SDL_Surface dst, SDL_Rect dstrect)
      bool SDL_BlitSurfaceUnchecked(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • nSDL_BlitSurfaceScaled

      public static boolean nSDL_BlitSurfaceScaled(long src, long srcrect, long dst, long dstrect, int scaleMode)
      bool SDL_BlitSurfaceScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • SDL_BlitSurfaceScaled

      public static boolean SDL_BlitSurfaceScaled(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect, int scaleMode)
      bool SDL_BlitSurfaceScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • nSDL_BlitSurfaceUncheckedScaled

      public static boolean nSDL_BlitSurfaceUncheckedScaled(long src, long srcrect, long dst, long dstrect, int scaleMode)
      bool SDL_BlitSurfaceUncheckedScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • SDL_BlitSurfaceUncheckedScaled

      public static boolean SDL_BlitSurfaceUncheckedScaled(SDL_Surface src, SDL_Rect srcrect, SDL_Surface dst, SDL_Rect dstrect, int scaleMode)
      bool SDL_BlitSurfaceUncheckedScaled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • nSDL_StretchSurface

      public static boolean nSDL_StretchSurface(long src, long srcrect, long dst, long dstrect, int scaleMode)
      bool SDL_StretchSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • SDL_StretchSurface

      public static boolean SDL_StretchSurface(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect, int scaleMode)
      bool SDL_StretchSurface(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect, SDL_ScaleMode scaleMode)
    • nSDL_BlitSurfaceTiled

      public static boolean nSDL_BlitSurfaceTiled(long src, long srcrect, long dst, long dstrect)
      bool SDL_BlitSurfaceTiled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • SDL_BlitSurfaceTiled

      public static boolean SDL_BlitSurfaceTiled(SDL_Surface src, @Nullable SDL_Rect srcrect, SDL_Surface dst, @Nullable SDL_Rect dstrect)
      bool SDL_BlitSurfaceTiled(SDL_Surface * src, SDL_Rect const * srcrect, SDL_Surface * dst, SDL_Rect const * dstrect)
    • nSDL_BlitSurfaceTiledWithScale

      public static boolean nSDL_BlitSurfaceTiledWithScale(long src, long srcrect, float scale, int scaleMode, long dst, long dstrect)
      bool SDL_BlitSurfaceTiledWithScale(SDL_Surface * src, SDL_Rect const * srcrect, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    • SDL_BlitSurfaceTiledWithScale

      public static boolean SDL_BlitSurfaceTiledWithScale(SDL_Surface src, @Nullable SDL_Rect srcrect, float scale, int scaleMode, SDL_Surface dst, @Nullable SDL_Rect dstrect)
      bool SDL_BlitSurfaceTiledWithScale(SDL_Surface * src, SDL_Rect const * srcrect, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    • nSDL_BlitSurface9Grid

      public static boolean nSDL_BlitSurface9Grid(long src, long srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, int scaleMode, long dst, long dstrect)
      bool SDL_BlitSurface9Grid(SDL_Surface * src, SDL_Rect const * srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    • SDL_BlitSurface9Grid

      public static boolean SDL_BlitSurface9Grid(SDL_Surface src, @Nullable SDL_Rect srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, int scaleMode, SDL_Surface dst, @Nullable SDL_Rect dstrect)
      bool SDL_BlitSurface9Grid(SDL_Surface * src, SDL_Rect const * srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, SDL_ScaleMode scaleMode, SDL_Surface * dst, SDL_Rect const * dstrect)
    • nSDL_MapSurfaceRGB

      public static int nSDL_MapSurfaceRGB(long surface, byte r, byte g, byte b)
      Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    • SDL_MapSurfaceRGB

      public static int SDL_MapSurfaceRGB(SDL_Surface surface, byte r, byte g, byte b)
      Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)
    • nSDL_MapSurfaceRGBA

      public static int nSDL_MapSurfaceRGBA(long surface, byte r, byte g, byte b, byte a)
      Uint32 SDL_MapSurfaceRGBA(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    • SDL_MapSurfaceRGBA

      public static int SDL_MapSurfaceRGBA(SDL_Surface surface, byte r, byte g, byte b, byte a)
      Uint32 SDL_MapSurfaceRGBA(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    • nSDL_ReadSurfacePixel

      public static boolean nSDL_ReadSurfacePixel(long surface, int x, int y, long r, long g, long b, long a)
      bool SDL_ReadSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
    • SDL_ReadSurfacePixel

      public static boolean SDL_ReadSurfacePixel(SDL_Surface surface, int x, int y, @Nullable ByteBuffer r, @Nullable ByteBuffer g, @Nullable ByteBuffer b, @Nullable ByteBuffer a)
      bool SDL_ReadSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
    • nSDL_ReadSurfacePixelFloat

      public static boolean nSDL_ReadSurfacePixelFloat(long surface, int x, int y, long r, long g, long b, long a)
      bool SDL_ReadSurfacePixelFloat(SDL_Surface * surface, int x, int y, float * r, float * g, float * b, float * a)
    • SDL_ReadSurfacePixelFloat

      public static boolean SDL_ReadSurfacePixelFloat(SDL_Surface surface, int x, int y, @Nullable FloatBuffer r, @Nullable FloatBuffer g, @Nullable FloatBuffer b, @Nullable FloatBuffer a)
      bool SDL_ReadSurfacePixelFloat(SDL_Surface * surface, int x, int y, float * r, float * g, float * b, float * a)
    • nSDL_WriteSurfacePixel

      public static boolean nSDL_WriteSurfacePixel(long surface, int x, int y, byte r, byte g, byte b, byte a)
      bool SDL_WriteSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    • SDL_WriteSurfacePixel

      public static boolean SDL_WriteSurfacePixel(SDL_Surface surface, int x, int y, byte r, byte g, byte b, byte a)
      bool SDL_WriteSurfacePixel(SDL_Surface * surface, int x, int y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
    • nSDL_WriteSurfacePixelFloat

      public static boolean nSDL_WriteSurfacePixelFloat(long surface, int x, int y, float r, float g, float b, float a)
      bool SDL_WriteSurfacePixelFloat(SDL_Surface * surface, int x, int y, float r, float g, float b, float a)
    • SDL_WriteSurfacePixelFloat

      public static boolean SDL_WriteSurfacePixelFloat(SDL_Surface surface, int x, int y, float r, float g, float b, float a)
      bool SDL_WriteSurfacePixelFloat(SDL_Surface * surface, int x, int y, float r, float g, float b, float a)
    • SDL_MUSTLOCK

      public static boolean SDL_MUSTLOCK(SDL_Surface S)
      bool SDL_MUSTLOCK(SDL_Surface S)