X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FpPlotterScaleX.cxx;h=28ce942f508b5d6aff296d4b6207c2737081553c;hb=719f6d5eb59df04d0034dc10638b180f4c5a995f;hp=9543da64e0621798f775e0154bfb5f5c37494876;hpb=8e7ab74a199d1f05b01dccfb75da7f2c4754ddc5;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.cxx index 9543da6..28ce942 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.cxx @@ -50,11 +50,18 @@ void pPlotterScaleX::Plot(wxDC& dc, mpWindow& w) int offsetX=w.getOffsetX(); //setting origins - const int orgy = w.GetScrY()-40; + + //EED 14Mai2009 + //const int orgy = w.GetScrY()-40; +// dc.SetDeviceOrigin(70,orgy); +// dc.SetAxisOrientation(true,true); //EED MacOx ??? + + const int orgy = 40; + dc.SetDeviceOrigin(70,orgy); + dc.SetAxisOrientation(true,false); + //const int extend = w.GetScrX()-100; //JPRx - dc.SetDeviceOrigin(70,orgy); - dc.SetAxisOrientation(true,true); //draw the axe dc.DrawLine(0,0,(max-min)*scaleX,0);