22 #ifndef OE_POINTCURVE_H
23 #define OE_POINTCURVE_H
41 bool getPoint(uint16_t nb,
float* x,
float* y);
45 bool setPoint(uint16_t nb,
float x,
float y);
52 void lineTo(
float x,
float y);
55 void cubicBezTo(
float cpx1,
float cpy1,
float cpx2,
float cpy2,
float x,
float y);
64 static unsigned char controlLineColor[4] ;
67 static unsigned char controlPointColor[4] ;
70 static unsigned char controlEndPointColor[4] ;
73 #endif // OE_POINTCURVE_H
OE_pointcurve()
Definition: OE_pointcurve.cpp:37
Definition: OE_pointcurve.h:30
virtual void refresh()
refresh the pts array.
Definition: OE_pointcurve.h:58
void lineTo(float x, float y)
to add a linear segment at the end of the curve.
Definition: OE_pointcurve.cpp:96
virtual ~OE_pointcurve()
Definition: OE_pointcurve.cpp:45
Definition: OE_curve.h:30
bool closed
Flag indicating if shapes should be treated as closed.
Definition: OE_curve.h:103
bool getPoint(uint16_t nb, float *x, float *y)
to get a point in the curve.
Definition: OE_pointcurve.cpp:49
bool addPoint(float x, float y)
to add a point at the end of the curve.
Definition: OE_pointcurve.cpp:82
bool setPoint(uint16_t nb, float x, float y)
to set a point in the curve.
Definition: OE_pointcurve.cpp:71
Definition: OE_utils.h:28