00001 #ifndef OSDL_FROM_GFX_H_
00002 #define OSDL_FROM_GFX_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "OSDLPixel.h"
00013
00014
00015
00016 struct SDL_Surface ;
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063 #ifdef __cplusplus
00064 extern "C" {
00065 #endif // __cplusplus
00066
00067
00068
00069
00070
00071 OSDL_DLL int fastPixelColorNolock( SDL_Surface * dst, Ceylan::Sint16 x,
00072 Ceylan::Sint16 y, Ceylan::Uint32 color ) ;
00073
00074 OSDL_DLL int fastPixelColorNolockNoclip( SDL_Surface * dst, Ceylan::Sint16 x,
00075 Ceylan::Sint16 y, Ceylan::Uint32 color ) ;
00076
00077 OSDL_DLL int fastPixelColor( SDL_Surface * dst, Ceylan::Sint16 x,
00078 Ceylan::Sint16 y, Ceylan::Uint32 color ) ;
00079
00080
00081
00082 OSDL_DLL int fastPixelRGBA( SDL_Surface * dst, Ceylan::Sint16 x,
00083 Ceylan::Sint16 y, Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b,
00084 Ceylan::Uint8 a ) ;
00085
00086
00087 OSDL_DLL int fastPixelRGBANolock( SDL_Surface * dst, Ceylan::Sint16 x,
00088 Ceylan::Sint16 y, Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b,
00089 Ceylan::Uint8 a ) ;
00090
00091
00105 OSDL_DLL int putPixelAlpha( SDL_Surface * surface, Ceylan::Sint16 x,
00106 Ceylan::Sint16 y, OSDL::Video::Pixels::PixelColor color,
00107 OSDL::Video::Pixels::ColorElement alpha ) ;
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117 OSDL_DLL int pixelColorNolock( SDL_Surface * dst, Ceylan::Sint16 x,
00118 Ceylan::Sint16 y, Ceylan::Uint32 color ) ;
00119
00120 OSDL_DLL int aalineColorInt( SDL_Surface * dst, Ceylan::Sint16 x1,
00121 Ceylan::Sint16 y1, Ceylan::Sint16 x2, Ceylan::Sint16 y2,
00122 Ceylan::Uint32 color, int draw_endpoint ) ;
00123
00124 OSDL_DLL int hlineColorStore( SDL_Surface * dst, Ceylan::Sint16 x1,
00125 Ceylan::Sint16 x2, Ceylan::Sint16 y, Ceylan::Uint32 color ) ;
00126
00127 OSDL_DLL int filledCircleRGBANotBlended( SDL_Surface * dst,
00128 Ceylan::Sint16 x, Ceylan::Sint16 y, Ceylan::Sint16 rad,
00129 Ceylan::Uint8 r, Ceylan::Uint8 g, Ceylan::Uint8 b, Ceylan::Uint8 a ) ;
00130
00131
00132
00133 #ifdef __cplusplus
00134 }
00135 #endif // __cplusplus
00136
00137
00138 # endif // OSDL_FROM_GFX_H_
00139