|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SDLSurface | |
---|---|
org.gljava.opengl.model | |
sdljava.image | Provides the IMG_Load function from the SDL_Image library. |
sdljava.ttf | Provides the interface to SDL TTF routines defined in SDL_ttf.h |
sdljava.video | Provides all the functions which are defined in the SDL_video.h header. |
sdljavax.gfx | Provides the interface to SDL_gfx routines defined in SDL_gfxPrimitives.h and SDL_rotozoom.h. |
sdljavax.gui |
Uses of SDLSurface in org.gljava.opengl.model |
---|
Fields in org.gljava.opengl.model declared as SDLSurface | |
---|---|
(package private) static SDLSurface |
ModelViewer.framebuffer
|
Uses of SDLSurface in sdljava.image |
---|
Methods in sdljava.image that return SDLSurface | |
---|---|
static SDLSurface |
SDLImage.load(java.nio.Buffer buf)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(byte[] data)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.io.InputStream in)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.lang.String file)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.net.URL url)
Load file for use as an image in a new surface. |
Uses of SDLSurface in sdljava.ttf |
---|
Methods in sdljava.ttf that return SDLSurface | |
---|---|
SDLSurface |
SDLTrueTypeFont.renderTextBlended(java.lang.String text,
SDLColor fg)
Create a 32-bit ARGB surface and render the given glyph at high quality, using alpha blending to dither the font with the given color. |
SDLSurface |
SDLTrueTypeFont.renderTextShaded(java.lang.String text,
SDLColor fg,
SDLColor bg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
SDLSurface |
SDLTrueTypeFont.renderTextSolid(java.lang.String text,
SDLColor fg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
Uses of SDLSurface in sdljava.video |
---|
Fields in sdljava.video declared as SDLSurface | |
---|---|
(package private) SDLSurface |
BlitQueue.src
|
Methods in sdljava.video that return SDLSurface | |
---|---|
SDLSurface |
SDLSurface.convertSurface(SDLPixelFormat fmt,
long flags)
Creates a new surface of the specified format, and then copies and maps the given surface to it so the blit of the converted surface will be as fast as possible. |
static SDLSurface |
SDLVideo.createRGBSurface(long flags,
int width,
int height,
int depth,
long rMask,
long gMask,
long bMask,
long aMask)
Allocate and free an RGB surface (must be called after SDL_SetVideoMode) If the depth is 4 or 8 bits, an empty palette is allocated for the surface. |
static SDLSurface |
SDLVideo.createRGBSurfaceFrom(int[] pixels,
int width,
int height,
int depth,
int pitch,
long rMask,
long gMask,
long bMask,
long aMask)
Create an SDL_Surface from pixel data |
SDLSurface |
SDLSurface.displayFormat()
This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer, suitable for fast blitting onto the display surface. |
SDLSurface |
SDLSurface.displayFormatAlpha()
This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer (if possible), suitable for fast alpha blitting onto the display surface. |
static SDLSurface |
SDLVideo.getVideoSurface()
This function returns the current display surface. |
static SDLSurface |
SDLVideo.loadBMP(java.lang.String path)
Load a surface from a BMP file located at path. |
static SDLSurface |
SDLVideo.setVideoMode(int width,
int height,
int bpp,
long flags)
Set up a video mode with the specified width, height and bits-per-pixel. |
Methods in sdljava.video with parameters of type SDLSurface | |
---|---|
int |
SDLSurface.blitSurface(SDLRect src,
SDLSurface dstSurface,
SDLRect dst)
This performs a fast blit from the source surface to the destination surface. |
int |
SDLSurface.blitSurface(SDLSurface dstSurface)
|
int |
SDLSurface.blitSurface(SDLSurface dstSurface,
SDLRect dst)
|
void |
BlitQueue.flush(SDLSurface dst)
|
void |
BlitQueue.queueBlit(SDLRect srcRect,
SDLSurface dstSurface,
SDLRect dst)
|
void |
BlitQueue.queueBlit(SDLSurface dstSurface)
|
void |
BlitQueue.queueBlit(SDLSurface dstSurface,
SDLRect dst)
|
static void |
SDLVideo.wmSetIcon(SDLSurface icon,
short mask)
Sets the icon for the display window. |
Constructors in sdljava.video with parameters of type SDLSurface | |
---|---|
BlitQueue(SDLSurface src,
int count)
Constructs a new BlitQueue |
Uses of SDLSurface in sdljavax.gfx |
---|
Methods in sdljavax.gfx that return SDLSurface | |
---|---|
static SDLSurface |
SDLGfx.rotozoomSurface(SDLSurface src,
double angle,
double zoom,
boolean smooth)
Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
static SDLSurface |
SDLGfx.zoomSurface(SDLSurface src,
double zoomx,
double zoomy,
boolean smooth)
Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
Methods in sdljavax.gfx with parameters of type SDLSurface | |
---|---|
static int |
SDLGfx.aacircleColor(SDLSurface dst,
int x,
int y,
int r,
long color)
aacircleColor |
static int |
SDLGfx.aacircleRGBA(SDLSurface dst,
int x,
int y,
int rad,
int r,
int g,
int b,
int a)
aacircleRGBA |
static int |
SDLGfx.aaellipseColor(SDLSurface dst,
int xc,
int yc,
int rx,
int ry,
long color)
aaellipseColor |
static int |
SDLGfx.aaellipseRGBA(SDLSurface dst,
int x,
int y,
int rx,
int ry,
int r,
int g,
int b,
int a)
aaellipseRGBA |
static int |
SDLGfx.aalineColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
long color)
aalineColor |
static int |
SDLGfx.aalineRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int r,
int g,
int b,
int a)
aalineRGBA |
static int |
SDLGfx.aapolygonColor(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
long color)
aapolygonColor |
static int |
SDLGfx.aapolygonRGBA(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short r,
short g,
short b,
short a)
aapolygonRGBA |
static int |
SDLGfx.aatrigonColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
long color)
aatrigonColor |
static int |
SDLGfx.aatrigonRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int r,
int g,
int b,
int a)
aatrigonRGBA |
static int |
SDLGfx.bezierColor(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short s,
long color)
bezierColor |
static int |
SDLGfx.bezierRGBA(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short s,
short r,
short g,
short b,
short a)
bezierRGBA |
static int |
SDLGfx.boxColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
long color)
boxColor |
static int |
SDLGfx.boxRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int r,
int g,
int b,
int a)
boxRGBA |
static int |
SDLGfx.characterColor(SDLSurface dst,
int x,
int y,
char c,
long color)
characterColor |
static int |
SDLGfx.characterRGBA(SDLSurface dst,
int x,
int y,
char c,
int r,
int g,
int b,
int a)
characterRGBA |
static int |
SDLGfx.circleColor(SDLSurface dst,
int x,
int y,
int r,
long color)
circleColor |
static int |
SDLGfx.circleRGBA(SDLSurface dst,
int x,
int y,
int rad,
int r,
int g,
int b,
int a)
circleRGBA |
static int |
SDLGfx.ellipseColor(SDLSurface dst,
int x,
int y,
int rx,
int ry,
long color)
ellipseColor |
static int |
SDLGfx.ellipseRGBA(SDLSurface dst,
int x,
int y,
int rx,
int ry,
int r,
int g,
int b,
int a)
ellipseRGBA |
static int |
SDLGfx.filledCircleColor(SDLSurface dst,
int x,
int y,
int r,
long color)
filledCircleColor |
static int |
SDLGfx.filledCircleRGBA(SDLSurface dst,
int x,
int y,
int rad,
int r,
int g,
int b,
int a)
filledCircleRGBA |
static int |
SDLGfx.filledEllipseColor(SDLSurface dst,
int x,
int y,
int rx,
int ry,
long color)
filledEllipseColor |
static int |
SDLGfx.filledEllipseRGBA(SDLSurface dst,
int x,
int y,
int rx,
int ry,
int r,
int g,
int b,
int a)
filledEllipseRGBA |
static int |
SDLGfx.filledpieColor(SDLSurface dst,
int x,
int y,
int rad,
int start,
int end,
long color)
filledpieColor |
static int |
SDLGfx.filledpieRGBA(SDLSurface dst,
int x,
int y,
int rad,
int start,
int end,
int r,
int g,
int b,
int a)
filledpieRGBA |
static int |
SDLGfx.filledPolygonColor(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short color)
filledPolygonColor |
static int |
SDLGfx.filledPolygonRGBA(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short r,
short g,
short b,
short a)
filledPolygonRGBA |
static int |
SDLGfx.filledTrigonColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int color)
filledTrigonColor |
static int |
SDLGfx.filledTrigonRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int r,
int g,
int b,
int a)
filledTrigonRGBA |
static int |
SDLGfx.hlineColor(SDLSurface dst,
int x1,
int x2,
int y,
long color)
hlineColor |
static int |
SDLGfx.hlineRGBA(SDLSurface dst,
int x1,
int x2,
int y,
int r,
int g,
int b,
int a)
hlineRGBA |
static int |
SDLGfx.lineColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
long color)
lineColor |
static int |
SDLGfx.lineRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int r,
int g,
int b,
int a)
lineRGBA |
static int |
SDLGfx.pixelColor(SDLSurface dst,
int x,
int y,
long color)
pixelColor |
static int |
SDLGfx.pixelRGBA(SDLSurface dst,
int x,
int y,
int r,
int g,
int b,
int a)
pixelRGBA |
static int |
SDLGfx.polygonColor(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
long color)
polygonColor |
static int |
SDLGfx.polygonRGBA(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short r,
short g,
short b,
short a)
polygonRGBA |
static int |
SDLGfx.rectangleColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
long color)
rectangleColor |
static int |
SDLGfx.rectangleRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int r,
int g,
int b,
int a)
rectangleRGBA |
static SDLSurface |
SDLGfx.rotozoomSurface(SDLSurface src,
double angle,
double zoom,
boolean smooth)
Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
static int |
SDLGfx.stringColor(SDLSurface dst,
int x,
int y,
java.lang.String c,
long color)
stringColor |
static int |
SDLGfx.stringRGBA(SDLSurface dst,
int x,
int y,
java.lang.String c,
int r,
int g,
int b,
int a)
stringRGBA |
static int |
SDLGfx.trigonColor(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
long color)
trigonColor |
static int |
SDLGfx.trigonRGBA(SDLSurface dst,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int r,
int g,
int b,
int a)
trigonRGBA |
static int |
SDLGfx.vlineColor(SDLSurface dst,
int x,
int y1,
int y2,
long color)
vlineColor |
static int |
SDLGfx.vlineRGBA(SDLSurface dst,
int x,
int y1,
int y2,
int r,
int g,
int b,
int a)
vlineRGBA |
static SDLSurface |
SDLGfx.zoomSurface(SDLSurface src,
double zoomx,
double zoomy,
boolean smooth)
Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
Uses of SDLSurface in sdljavax.gui |
---|
Fields in sdljavax.gui declared as SDLSurface | |
---|---|
(package private) static SDLSurface |
GUI.framebuffer
|
Methods in sdljavax.gui with parameters of type SDLSurface | |
---|---|
static void |
GUI.init(SDLSurface f,
GL glContext,
Widget initialWindow)
Describe init method here. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |