OSDLFromGfx.h File Reference

#include "OSDLPixel.h"

Include dependency graph for OSDLFromGfx.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OSDL_DLL int fastPixelColorNolock (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint32 color)
OSDL_DLL int fastPixelColorNolockNoclip (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint32 color)
OSDL_DLL int fastPixelColor (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint32 color)
OSDL_DLL int fastPixelRGBA (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b, Ceylan::Uint8 a)
OSDL_DLL int fastPixelRGBANolock (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b, Ceylan::Uint8 a)
OSDL_DLL int putPixelAlpha (SDL_Surface *surface, Ceylan::Sint16 x, Ceylan::Sint16 y, OSDL::Video::Pixels::PixelColor color, OSDL::Video::Pixels::ColorElement alpha)
 OSDL's version of putPixelAlpha.
OSDL_DLL int pixelColorNolock (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Uint32 color)
OSDL_DLL int aalineColorInt (SDL_Surface *dst, Ceylan::Sint16 x1, Ceylan::Sint16 y1, Ceylan::Sint16 x2, Ceylan::Sint16 y2, Ceylan::Uint32 color, int draw_endpoint)
OSDL_DLL int hlineColorStore (SDL_Surface *dst, Ceylan::Sint16 x1, Ceylan::Sint16 x2, Ceylan::Sint16 y, Ceylan::Uint32 color)
OSDL_DLL int filledCircleRGBANotBlended (SDL_Surface *dst, Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Sint16 rad, Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b, Ceylan::Uint8 a)


Function Documentation

OSDL_DLL int aalineColorInt ( SDL_Surface *  dst,
Ceylan::Sint16  x1,
Ceylan::Sint16  y1,
Ceylan::Sint16  x2,
Ceylan::Sint16  y2,
Ceylan::Uint32  color,
int  draw_endpoint 
)

Referenced by OSDL::Video::TwoDimensional::Line::draw().

OSDL_DLL int fastPixelColor ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint32  color 
)

Definition at line 637 of file OSDLFromGfx.cc.

References fastPixelColorNolock().

Referenced by filledCircleColorNotBlended().

OSDL_DLL int fastPixelColorNolock ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint32  color 
)

OSDL_DLL int fastPixelColorNolockNoclip ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint32  color 
)

Referenced by OSDL::Video::Pixels::putPixelColor().

OSDL_DLL int fastPixelRGBA ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint8  r,
Ceylan::Uint8  g,
Ceylan::Uint8  b,
Ceylan::Uint8  a 
)

OSDL_DLL int fastPixelRGBANolock ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint8  r,
Ceylan::Uint8  g,
Ceylan::Uint8  b,
Ceylan::Uint8  a 
)

OSDL_DLL int filledCircleRGBANotBlended ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Sint16  rad,
Ceylan::Uint8  r,
Ceylan::Uint8  g,
Ceylan::Uint8  b,
Ceylan::Uint8  a 
)

Definition at line 296 of file OSDLFromGfx.cc.

References OSDL::Video::Pixels::convertRGBAToColorDefinition(), and filledCircleColorNotBlended().

Referenced by OSDL::Video::TwoDimensional::drawCircle().

OSDL_DLL int hlineColorStore ( SDL_Surface *  dst,
Ceylan::Sint16  x1,
Ceylan::Sint16  x2,
Ceylan::Sint16  y,
Ceylan::Uint32  color 
)

OSDL_DLL int pixelColorNolock ( SDL_Surface *  dst,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
Ceylan::Uint32  color 
)

OSDL_DLL int putPixelAlpha ( SDL_Surface *  surface,
Ceylan::Sint16  x,
Ceylan::Sint16  y,
OSDL::Video::Pixels::PixelColor  color,
OSDL::Video::Pixels::ColorElement  alpha 
)

OSDL's version of putPixelAlpha.

Parameters:
color this color is not a color definition, it is a pixel color already converted to the pixel format of the target surface.
the full precision alpha coordinate of the pixel to put.
The greater the 'alpha' parameter is, the closer to the alpha of put pixel the alpha of the final pixel will be (for a null 'alpha', final pixel alpha will not be modified, for a maximum 'alpha' the alpha of the resulting pixel will be the alpha of put pixel.

Note:
the alpha color element has to be specified, since it cannot reliably be deduced from the 'color' parameter, which is already encoded to a specific pixel format.

Definition at line 80 of file OSDLFromGfx.cc.

References clip_xmax, clip_xmin, clip_ymax, clip_ymin, OSDL::Video::Pixels::convertPixelColorToColorDefinition(), and OSDL::Video::Pixels::toString().

Referenced by OSDL::Video::Pixels::putPixelColor().


Generated on Fri Mar 30 14:47:09 2007 for OSDL by  doxygen 1.5.1