From: ana Date: Wed, 26 Oct 2011 12:10:41 +0000 (+0000) Subject: Implementation of the "21384: [CEA 508] Plot2d Allow user to rescale curve" isuue. X-Git-Tag: V6_main_20111028~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f5dba605fa42838e401ef964e20fb420504b5d8f;p=modules%2Fvisu.git Implementation of the "21384: [CEA 508] Plot2d Allow user to rescale curve" isuue. --- diff --git a/idl/VISU_Gen.idl b/idl/VISU_Gen.idl index c16cd9ad..93f064f7 100644 --- a/idl/VISU_Gen.idl +++ b/idl/VISU_Gen.idl @@ -313,6 +313,19 @@ module VISU { * \return Long value corresponding to the width of the curve line. */ long GetLineWidth(); + + /*! Sets scaling coefficient of the curve. + * \param coef Double value defining the scale. + */ + void SetScale(in double theCoef); + + /*! Gets the scale coefficient of the curve lines. + */ + double GetScale(); + + /*! Sets scaling coefficient of the curve to 1.0. + */ + void RemoveScale(); }; //-------------------------------------------------------