From: vsv Date: Mon, 30 Mar 2015 08:21:44 +0000 (+0300) Subject: Resize symbols X-Git-Tag: V_1.1.0~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=706361414a00e683cf7ecb6ca3e3a7e941833200;p=modules%2Fshaper.git Resize symbols --- diff --git a/src/SketcherPrs/SketcherPrs_PositionMgr.cpp b/src/SketcherPrs/SketcherPrs_PositionMgr.cpp index 2e0a66ae4..e7648db53 100644 --- a/src/SketcherPrs/SketcherPrs_PositionMgr.cpp +++ b/src/SketcherPrs/SketcherPrs_PositionMgr.cpp @@ -90,7 +90,7 @@ gp_Pnt SketcherPrs_PositionMgr::getPosition(ObjectPtr theShape, } gp_Vec aShift = aVec1.Crossed(thePrs->plane()->norm()->impl()); aShift.Normalize(); - aShift.Multiply(theStep); + aShift.Multiply(theStep * 0.8); int aPos = getPositionIndex(theShape, thePrs); int aM = 1; diff --git a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp index 699bbab1f..b502c47e9 100644 --- a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp +++ b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp @@ -36,7 +36,7 @@ #endif /// Step between icons -static const double MyDist = 0.03; +static const double MyDist = 0.02; /// Function to convert opengl data type GLenum toGlDataType (const Graphic3d_TypeOfData theType, GLint& theNbComp) diff --git a/src/SketcherPrs/icons/anchor.png b/src/SketcherPrs/icons/anchor.png index 5dc7b5827..40eac942f 100644 Binary files a/src/SketcherPrs/icons/anchor.png and b/src/SketcherPrs/icons/anchor.png differ diff --git a/src/SketcherPrs/icons/equal.png b/src/SketcherPrs/icons/equal.png index e3af2c6e2..d31b91608 100644 Binary files a/src/SketcherPrs/icons/equal.png and b/src/SketcherPrs/icons/equal.png differ diff --git a/src/SketcherPrs/icons/horisontal.png b/src/SketcherPrs/icons/horisontal.png index ad67bb2d6..728148db9 100644 Binary files a/src/SketcherPrs/icons/horisontal.png and b/src/SketcherPrs/icons/horisontal.png differ diff --git a/src/SketcherPrs/icons/parallel.png b/src/SketcherPrs/icons/parallel.png index 49186129f..415719f88 100644 Binary files a/src/SketcherPrs/icons/parallel.png and b/src/SketcherPrs/icons/parallel.png differ diff --git a/src/SketcherPrs/icons/perpendicular.png b/src/SketcherPrs/icons/perpendicular.png index 8f64a9f82..cc551bab4 100644 Binary files a/src/SketcherPrs/icons/perpendicular.png and b/src/SketcherPrs/icons/perpendicular.png differ diff --git a/src/SketcherPrs/icons/tangent.png b/src/SketcherPrs/icons/tangent.png index d4d8cd79f..95248bef7 100644 Binary files a/src/SketcherPrs/icons/tangent.png and b/src/SketcherPrs/icons/tangent.png differ diff --git a/src/SketcherPrs/icons/vertical.png b/src/SketcherPrs/icons/vertical.png index 68f803392..8793abbe1 100644 Binary files a/src/SketcherPrs/icons/vertical.png and b/src/SketcherPrs/icons/vertical.png differ