//----------------------------------------------------------------------------
// Class definition
//----------------------------------------------------------------------------
-class pPlotterLayer: public mpLayer
+class creaMaracasVisu_EXPORT pPlotterLayer: public mpLayer
{
public:
Draw the line from (x1,y1) to (x2,y2) only passing by the
positive points in the line
*/
-void draw(wxDC & dc,mpWindow & w,double x1,double y1,double x2,double y2);
+void draw(wxDC & dc,mpWindow & w,double x1,double y1,double x2,double y2, int orgy);
/**
* Draw the function with th spline points
*
*/
- void drawSplineCurve(wxDC & dc,mpWindow & w);
+ void drawSplineCurve(wxDC & dc,mpWindow & w, int orgy);
/**
* Draw the line between the last point of the function
* and the position of the mouse
*/
- void drawLineToMousePoint(wxDC & dc,mpWindow & w);
+ void drawLineToMousePoint(wxDC & dc,mpWindow & w, int orgy);
/**
* Draw le lines between the points of the function
*/
- void drawFunction(wxDC & dc,mpWindow & w);
+ void drawFunction(wxDC & dc,mpWindow & w, int orgy);
/**
* Draw the points of the function
*/
- void drawPoints(wxDC & dc,mpWindow & w);
+ void drawPoints(wxDC & dc,mpWindow & w, int orgy );
/**
Get the value of the traslation