Package org.lwjgl.sdl
Class SDLSurface
java.lang.Object
org.lwjgl.sdl.SDLSurface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic booleannSDL_AddSurfaceAlternateImage(long surface, long image) bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)static booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 booleannSDL_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 longnSDL_ConvertSurface(long surface, int format) SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)static longnSDL_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 longnSDL_CreateSurface(int width, int height, int format) SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)static longnSDL_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 longnSDL_CreateSurfacePalette(long surface) SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)static voidnSDL_DestroySurface(long surface) void SDL_DestroySurface(SDL_Surface * surface)static longnSDL_DuplicateSurface(long surface) SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)static booleannSDL_FillSurfaceRect(long dst, long rect, int color) bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)static booleannSDL_FillSurfaceRects(long dst, long rects, int count, int color) bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)static booleannSDL_FlipSurface(long surface, int flip) bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)static booleannSDL_GetSurfaceAlphaMod(long surface, long alpha) bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)static booleannSDL_GetSurfaceBlendMode(long surface, long blendMode) bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)static booleannSDL_GetSurfaceClipRect(long surface, long rect) bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)static booleannSDL_GetSurfaceColorKey(long surface, long key) bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)static booleannSDL_GetSurfaceColorMod(long surface, long r, long g, long b) bool SDL_GetSurfaceColorMod(SDL_Surface * surface, Uint8 * r, Uint8 * g, Uint8 * b)static intnSDL_GetSurfaceColorspace(long surface) SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)static longnSDL_GetSurfaceImages(long surface, long count) SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)static longnSDL_GetSurfacePalette(long surface) SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)static intnSDL_GetSurfaceProperties(long surface) SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)static longnSDL_LoadBMP(long file) SDL_Surface * SDL_LoadBMP(char const * file)static longnSDL_LoadBMP_IO(long src, boolean closeio) SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)static booleannSDL_LockSurface(long surface) bool SDL_LockSurface(SDL_Surface * surface)static intnSDL_MapSurfaceRGB(long surface, byte r, byte g, byte b) Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)static intnSDL_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 booleannSDL_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 booleannSDL_PremultiplySurfaceAlpha(long surface, boolean linear) bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)static booleannSDL_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 booleannSDL_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 voidnSDL_RemoveSurfaceAlternateImages(long surface) void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)static booleannSDL_SaveBMP(long surface, long file) bool SDL_SaveBMP(SDL_Surface * surface, char const * file)static booleannSDL_SaveBMP_IO(long surface, long dst, boolean closeio) bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)static longnSDL_ScaleSurface(long surface, int width, int height, int scaleMode) SDL_Surface * SDL_ScaleSurface(SDL_Surface * surface, int width, int height, SDL_ScaleMode scaleMode)static booleannSDL_SetSurfaceAlphaMod(long surface, byte alpha) bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)static booleannSDL_SetSurfaceBlendMode(long surface, int blendMode) bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)static booleannSDL_SetSurfaceClipRect(long surface, long rect) bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)static booleannSDL_SetSurfaceColorKey(long surface, boolean enabled, int key) bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)static booleannSDL_SetSurfaceColorMod(long surface, byte r, byte g, byte b) bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)static booleannSDL_SetSurfaceColorspace(long surface, int colorspace) bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)static booleannSDL_SetSurfacePalette(long surface, long palette) bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)static booleannSDL_SetSurfaceRLE(long surface, boolean enabled) bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)static booleannSDL_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 booleannSDL_SurfaceHasAlternateImages(long surface) bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)static booleannSDL_SurfaceHasColorKey(long surface) bool SDL_SurfaceHasColorKey(SDL_Surface * surface)static booleannSDL_SurfaceHasRLE(long surface) bool SDL_SurfaceHasRLE(SDL_Surface * surface)static voidnSDL_UnlockSurface(long surface) void SDL_UnlockSurface(SDL_Surface * surface)static booleannSDL_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 booleannSDL_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 booleanSDL_AddSurfaceAlternateImage(SDL_Surface surface, SDL_Surface image) bool SDL_AddSurfaceAlternateImage(SDL_Surface * surface, SDL_Surface * image)static booleanSDL_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 booleanSDL_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 booleanSDL_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 booleanSDL_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 booleanSDL_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 booleanSDL_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)static booleanSDL_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 booleanSDL_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 booleanSDL_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 booleanSDL_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_SurfaceSDL_ConvertSurface(SDL_Surface surface, int format) SDL_Surface * SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat format)static @Nullable SDL_SurfaceSDL_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_SurfaceSDL_CreateSurface(int width, int height, int format) SDL_Surface * SDL_CreateSurface(int width, int height, SDL_PixelFormat format)static @Nullable SDL_SurfaceSDL_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_PaletteSDL_CreateSurfacePalette(SDL_Surface surface) SDL_Palette * SDL_CreateSurfacePalette(SDL_Surface * surface)static voidSDL_DestroySurface(SDL_Surface surface) void SDL_DestroySurface(SDL_Surface * surface)static @Nullable SDL_SurfaceSDL_DuplicateSurface(SDL_Surface surface) SDL_Surface * SDL_DuplicateSurface(SDL_Surface * surface)static booleanSDL_FillSurfaceRect(SDL_Surface dst, @Nullable SDL_Rect rect, int color) bool SDL_FillSurfaceRect(SDL_Surface * dst, SDL_Rect const * rect, Uint32 color)static booleanSDL_FillSurfaceRects(SDL_Surface dst, SDL_Rect.Buffer rects, int color) bool SDL_FillSurfaceRects(SDL_Surface * dst, SDL_Rect const * rects, int count, Uint32 color)static booleanSDL_FlipSurface(SDL_Surface surface, int flip) bool SDL_FlipSurface(SDL_Surface * surface, SDL_FlipMode flip)static booleanSDL_GetSurfaceAlphaMod(SDL_Surface surface, @Nullable ByteBuffer alpha) bool SDL_GetSurfaceAlphaMod(SDL_Surface * surface, Uint8 * alpha)static booleanSDL_GetSurfaceBlendMode(SDL_Surface surface, @Nullable IntBuffer blendMode) bool SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode * blendMode)static booleanSDL_GetSurfaceClipRect(SDL_Surface surface, SDL_Rect rect) bool SDL_GetSurfaceClipRect(SDL_Surface * surface, SDL_Rect * rect)static booleanSDL_GetSurfaceColorKey(SDL_Surface surface, @Nullable IntBuffer key) bool SDL_GetSurfaceColorKey(SDL_Surface * surface, Uint32 * key)static booleanSDL_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 intSDL_GetSurfaceColorspace(SDL_Surface surface) SDL_Colorspace SDL_GetSurfaceColorspace(SDL_Surface * surface)static @Nullable PointerBufferSDL_GetSurfaceImages(SDL_Surface surface) SDL_Surface ** SDL_GetSurfaceImages(SDL_Surface * surface, int * count)static @Nullable SDL_PaletteSDL_GetSurfacePalette(SDL_Surface surface) SDL_Palette * SDL_GetSurfacePalette(SDL_Surface * surface)static intSDL_GetSurfaceProperties(SDL_Surface surface) SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface)static @Nullable SDL_SurfaceSDL_LoadBMP(CharSequence file) SDL_Surface * SDL_LoadBMP(char const * file)static @Nullable SDL_SurfaceSDL_LoadBMP(ByteBuffer file) SDL_Surface * SDL_LoadBMP(char const * file)static @Nullable SDL_SurfaceSDL_LoadBMP_IO(long src, boolean closeio) SDL_Surface * SDL_LoadBMP_IO(SDL_IOStream * src, bool closeio)static booleanSDL_LockSurface(SDL_Surface surface) bool SDL_LockSurface(SDL_Surface * surface)static intSDL_MapSurfaceRGB(SDL_Surface surface, byte r, byte g, byte b) Uint32 SDL_MapSurfaceRGB(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)static intSDL_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 booleanbool SDL_MUSTLOCK(SDL_Surface S)static booleanSDL_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 booleanSDL_PremultiplySurfaceAlpha(SDL_Surface surface, boolean linear) bool SDL_PremultiplySurfaceAlpha(SDL_Surface * surface, bool linear)static booleanSDL_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 booleanSDL_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 voidvoid SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface)static booleanSDL_SaveBMP(SDL_Surface surface, CharSequence file) bool SDL_SaveBMP(SDL_Surface * surface, char const * file)static booleanSDL_SaveBMP(SDL_Surface surface, ByteBuffer file) bool SDL_SaveBMP(SDL_Surface * surface, char const * file)static booleanSDL_SaveBMP_IO(SDL_Surface surface, long dst, boolean closeio) bool SDL_SaveBMP_IO(SDL_Surface * surface, SDL_IOStream * dst, bool closeio)static @Nullable SDL_SurfaceSDL_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 booleanSDL_SetSurfaceAlphaMod(SDL_Surface surface, byte alpha) bool SDL_SetSurfaceAlphaMod(SDL_Surface * surface, Uint8 alpha)static booleanSDL_SetSurfaceBlendMode(SDL_Surface surface, int blendMode) bool SDL_SetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode blendMode)static booleanSDL_SetSurfaceClipRect(SDL_Surface surface, SDL_Rect rect) bool SDL_SetSurfaceClipRect(SDL_Surface * surface, SDL_Rect const * rect)static booleanSDL_SetSurfaceColorKey(SDL_Surface surface, boolean enabled, int key) bool SDL_SetSurfaceColorKey(SDL_Surface * surface, bool enabled, Uint32 key)static booleanSDL_SetSurfaceColorMod(SDL_Surface surface, byte r, byte g, byte b) bool SDL_SetSurfaceColorMod(SDL_Surface * surface, Uint8 r, Uint8 g, Uint8 b)static booleanSDL_SetSurfaceColorspace(SDL_Surface surface, int colorspace) bool SDL_SetSurfaceColorspace(SDL_Surface * surface, SDL_Colorspace colorspace)static booleanSDL_SetSurfacePalette(SDL_Surface surface, @Nullable SDL_Palette palette) bool SDL_SetSurfacePalette(SDL_Surface * surface, SDL_Palette * palette)static booleanSDL_SetSurfaceRLE(SDL_Surface surface, boolean enabled) bool SDL_SetSurfaceRLE(SDL_Surface * surface, bool enabled)static booleanSDL_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 booleanSDL_SurfaceHasAlternateImages(SDL_Surface surface) bool SDL_SurfaceHasAlternateImages(SDL_Surface * surface)static booleanSDL_SurfaceHasColorKey(SDL_Surface surface) bool SDL_SurfaceHasColorKey(SDL_Surface * surface)static booleanSDL_SurfaceHasRLE(SDL_Surface surface) bool SDL_SurfaceHasRLE(SDL_Surface * surface)static voidSDL_UnlockSurface(SDL_Surface surface) void SDL_UnlockSurface(SDL_Surface * surface)static booleanSDL_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 booleanSDL_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)
-
Field Details
-
SDL_SURFACE_PREALLOCATED
public static final int SDL_SURFACE_PREALLOCATED- See Also:
-
SDL_SURFACE_LOCK_NEEDED
public static final int SDL_SURFACE_LOCK_NEEDED- See Also:
-
SDL_SURFACE_LOCKED
public static final int SDL_SURFACE_LOCKED- See Also:
-
SDL_SURFACE_SIMD_ALIGNED
public static final int SDL_SURFACE_SIMD_ALIGNED- See Also:
-
SDL_SCALEMODE_INVALID
public static final int SDL_SCALEMODE_INVALID- See Also:
-
SDL_SCALEMODE_NEAREST
public static final int SDL_SCALEMODE_NEAREST- See Also:
-
SDL_SCALEMODE_LINEAR
public static final int SDL_SCALEMODE_LINEAR- See Also:
-
SDL_FLIP_NONE
public static final int SDL_FLIP_NONE- See Also:
-
SDL_FLIP_HORIZONTAL
public static final int SDL_FLIP_HORIZONTAL- See Also:
-
SDL_FLIP_VERTICAL
public static final int SDL_FLIP_VERTICAL- See Also:
-
SDL_PROP_SURFACE_SDR_WHITE_POINT_FLOAT
- See Also:
-
SDL_PROP_SURFACE_HDR_HEADROOM_FLOAT
- See Also:
-
SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING
- See Also:
-
SDL_PROP_SURFACE_HOTSPOT_X_NUMBER
- See Also:
-
SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER
- See Also:
-
-
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
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
void SDL_DestroySurface(SDL_Surface * surface) -
nSDL_GetSurfaceProperties
public static int nSDL_GetSurfaceProperties(long surface) SDL_PropertiesID SDL_GetSurfaceProperties(SDL_Surface * surface) -
SDL_GetSurfaceProperties
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
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
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
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
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
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
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
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
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
void SDL_RemoveSurfaceAlternateImages(SDL_Surface * surface) -
nSDL_LockSurface
public static boolean nSDL_LockSurface(long surface) bool SDL_LockSurface(SDL_Surface * surface) -
SDL_LockSurface
bool SDL_LockSurface(SDL_Surface * surface) -
nSDL_UnlockSurface
public static void nSDL_UnlockSurface(long surface) void SDL_UnlockSurface(SDL_Surface * surface) -
SDL_UnlockSurface
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
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
SDL_Surface * SDL_LoadBMP(char const * file) -
SDL_LoadBMP
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
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
bool SDL_SaveBMP(SDL_Surface * surface, char const * file) -
SDL_SaveBMP
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
bool SDL_MUSTLOCK(SDL_Surface S)
-