]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pGraphicalFunction.cxx
BUG contour line
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pGraphicalFunction.cxx
index 81f843b8c0aa699630f202d305a04bbe91293ee8..b04e17c81bacb5a648d8dacb8c735f85b3a7691d 100644 (file)
@@ -229,6 +229,7 @@ bool pGraphicalFunction::hasPoint(wxPoint aPoint)
 {
        return logicFunction -> hasPoint( aPoint );     
 }
+*/
 
 /**
 * Returns the real x values of the control points of the function. It dont includes the points calculated by interpolation.
@@ -536,8 +537,8 @@ void pGraphicalFunction::zooming(int clickedX,int clickedY,int width)
                wxNode* node=logicFunction->GetPointAt(0);
                pFunctionPoint* p;
 
-               float middleWX=(((float)(screenX-100))/2)/scaleX;
-               float middleWY=(((float)(screenY-50))/2)/scaleY;
+               //float middleWX=(((float)(screenX-100))/2)/scaleX; // JPRx
+               //float middleWY=(((float)(screenY-50))/2)/scaleY; // JPRx
                
                //node=node->GetNext(); 
                while(node)