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_BEZIER_H_
00028 #define OSDL_BEZIER_H_
00029
00030
00031 #include "OSDLPixel.h"
00032 #include "OSDLPolygon.h"
00033
00034
00035
00036
00037 namespace OSDL
00038 {
00039
00040
00041
00042 namespace Video
00043 {
00044
00045
00046
00047
00048 class Surface ;
00049
00050
00051
00052
00053 namespace TwoDimensional
00054 {
00055
00056
00057
00095 OSDL_DLL bool drawBezierCurve(
00096 Surface & targetSurface,
00097 const listPoint2D & controlPoints,
00098 Ceylan::Uint16 numberOfSteps,
00099 Pixels::ColorElement red,
00100 Pixels::ColorElement green,
00101 Pixels::ColorElement blue,
00102 Pixels::ColorElement alpha = Pixels::AlphaOpaque ) ;
00103
00104
00105
00137 OSDL_DLL bool drawBezierCurve(
00138 Surface & targetSurface,
00139 const listPoint2D & controlPoints,
00140 Ceylan::Uint16 numberOfSteps,
00141 Pixels::ColorDefinition colorDef ) ;
00142
00143
00144 }
00145
00146 }
00147
00148 }
00149
00150
00151
00152 #endif // OSDL_BEZIER_H_
00153