Salome HOME
Issue #698 - Distance constraint on circle - crash
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
index b2ed89c5bdc56689593a691628fc3dc9603c2df8..481e7d96d2eae703326284f11b9ca98e77105933 100644 (file)
@@ -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<GeomDataAPI_Point2D> getFeaturePoint(DataPtr theData,
-                                                       const std::string& theAttribute);
+                                                       const std::string& theAttribute,
+                                                       const std::shared_ptr<GeomAPI_Ax3>& 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<GeomAPI_Pnt> getAnchorPoint(