X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Tools.h;h=481e7d96d2eae703326284f11b9ca98e77105933;hb=705438fb7ab16ba1608b6b1aeddd546d6311cb77;hp=b2ed89c5bdc56689593a691628fc3dc9603c2df8;hpb=feb83de70e93d26ac5fc47f8b6ae82ebe965309a;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Tools.h b/src/SketcherPrs/SketcherPrs_Tools.h index b2ed89c5b..481e7d96d 100644 --- a/src/SketcherPrs/SketcherPrs_Tools.h +++ b/src/SketcherPrs/SketcherPrs_Tools.h @@ -17,7 +17,7 @@ class GeomDataAPI_Point2D; -#define MyTextHeight 20 +//#define MyTextHeight 20 namespace SketcherPrs_Tools { @@ -56,12 +56,19 @@ enum SelectionModes { /// Obtain the point object from specified constraint parameter SKETCHERPRS_EXPORT std::shared_ptr getFeaturePoint(DataPtr theData, - const std::string& theAttribute); + const std::string& theAttribute, + const std::shared_ptr& thePlane); SKETCHERPRS_EXPORT double getArrowSize(); SKETCHERPRS_EXPORT void setArrowSize(double theSize); + SKETCHERPRS_EXPORT void setTextHeight(double theHeight); + + SKETCHERPRS_EXPORT double getTextHeight(); + + SKETCHERPRS_EXPORT double getDefaultTextHeight(); + SKETCHERPRS_EXPORT double getFlyoutDistance(const ModelAPI_Feature* theConstraint); SKETCHERPRS_EXPORT std::shared_ptr getAnchorPoint(