00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef OSDL_CONIC_H_
00028 #define OSDL_CONIC_H_
00029
00030
00031 #include "OSDLPixel.h"
00032
00033
00034 #if ! defined(OSDL_USES_SDL) || OSDL_USES_SDL
00035
00036 #include "SDL.h"
00037
00038 #endif // OSDL_USES_SDL
00039
00040
00041
00042 namespace OSDL
00043 {
00044
00045
00046
00047 namespace Video
00048 {
00049
00050
00051
00052
00053 class Surface ;
00054
00055
00056
00057 namespace TwoDimensional
00058 {
00059
00060
00069
00070
00071
00072
00073
00074
00075
00105 OSDL_DLL bool drawCircle( Surface & targetSurface,
00106 Coordinate xCenter, Coordinate yCenter, Length radius,
00107 Pixels::ColorElement red, Pixels::ColorElement green,
00108 Pixels::ColorElement blue,
00109 Pixels::ColorElement alpha = Pixels::AlphaOpaque,
00110 bool filled = true, bool blended = true ) ;
00111
00112
00113
00145 OSDL_DLL bool drawCircle( Surface & targetSurface,
00146 Coordinate xCenter, Coordinate yCenter, Length radius,
00147 Pixels::ColorDefinition colorDef, bool filled = true,
00148 bool blended = true ) ;
00149
00150
00151
00196 OSDL_DLL bool drawDiscWithEdge( Surface & targetSurface,
00197 Coordinate xCenter, Coordinate yCenter,
00198 Length outerRadius, Length innerRadius,
00199 Pixels::ColorDefinition ringColorDef = Pixels::Blue,
00200 Pixels::ColorDefinition discColorDef = Pixels::White,
00201 bool blended = true ) ;
00202
00203
00204
00230 OSDL_DLL bool drawEllipse( Surface & targetSurface,
00231 Coordinate xCenter, Coordinate yCenter,
00232 Length horizontalRadius, Length verticalRadius,
00233 Pixels::ColorElement red, Pixels::ColorElement green,
00234 Pixels::ColorElement blue,
00235 Pixels::ColorElement alpha = Pixels::AlphaOpaque,
00236 bool filled = true ) ;
00237
00238
00239
00265 OSDL_DLL bool drawEllipse( Surface & targetSurface,
00266 Coordinate xCenter, Coordinate yCenter,
00267 Length horizontalRadius, Length verticalRadius,
00268 Pixels::ColorDefinition colorDef, bool filled = true ) ;
00269
00270
00271 }
00272
00273 }
00274
00275 }
00276
00277
00278
00279 #endif // OSDL_CONIC_H_
00280