OSDLConic.h

Go to the documentation of this file.
00001 #ifndef OSDL_CONIC_H_
00002 #define OSDL_CONIC_H_
00003 
00004 
00005 #include "OSDLPixel.h"   // for Pixels::put, Pixels::Pixel
00006 
00007 
00008 
00009 namespace OSDL
00010 {
00011 
00012     
00013     namespace Video
00014     {
00015 
00016 
00017         // Conics are drawn in Surfaces.
00018         class Surface ;
00019                 
00020         
00021         namespace TwoDimensional
00022         {
00023                     
00024         
00033             /*
00034              * Methods could be inlined in a dedicated file for faster
00035              * processing.
00036              *
00037              */
00038     
00039     
00067             OSDL_DLL bool drawCircle( Surface & targetSurface, 
00068                 Coordinate xCenter, Coordinate yCenter, Length radius, 
00069                 Pixels::ColorElement red, Pixels::ColorElement green, 
00070                 Pixels::ColorElement blue, 
00071                 Pixels::ColorElement alpha = Pixels::AlphaOpaque,
00072                 bool filled = true, bool blended = true ) throw() ;
00073     
00074     
00104             OSDL_DLL bool drawCircle( Surface & targetSurface, 
00105                 Coordinate xCenter, Coordinate yCenter, Length radius, 
00106                 Pixels::ColorDefinition colorDef, bool filled = true, 
00107                 bool blended = true ) 
00108                     throw() ;
00109     
00110         
00153             OSDL_DLL bool drawDiscWithEdge( Surface & targetSurface,
00154                 Coordinate xCenter, Coordinate yCenter, 
00155                 Length outerRadius, Length innerRadius, 
00156                 Pixels::ColorDefinition ringColorDef = Pixels::Blue, 
00157                 Pixels::ColorDefinition discColorDef = Pixels::White, 
00158                 bool blended = true )
00159                     throw() ;
00160         
00161         
00185             OSDL_DLL bool drawEllipse( Surface & targetSurface, 
00186                 Coordinate xCenter, Coordinate yCenter,
00187                 Length horizontalRadius, Length verticalRadius,             
00188                 Pixels::ColorElement red, Pixels::ColorElement green, 
00189                 Pixels::ColorElement blue, 
00190                 Pixels::ColorElement alpha = Pixels::AlphaOpaque,
00191                 bool filled = true ) throw() ;
00192 
00193 
00217             OSDL_DLL bool drawEllipse( Surface & targetSurface, 
00218                 Coordinate xCenter, Coordinate yCenter, 
00219                 Length horizontalRadius, Length verticalRadius,
00220                 Pixels::ColorDefinition colorDef, bool filled = true ) throw() ;
00221 
00222                 
00223         }
00224         
00225     }
00226     
00227 }
00228 
00229 
00230 #endif // OSDL_CONIC_H_
00231 

Generated on Fri Mar 30 14:46:59 2007 for OSDL by  doxygen 1.5.1