]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Resize symbols
authorvsv <vitaly.smetannikov@opencascade.com>
Mon, 30 Mar 2015 08:21:44 +0000 (11:21 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Mon, 30 Mar 2015 08:21:44 +0000 (11:21 +0300)
src/SketcherPrs/SketcherPrs_PositionMgr.cpp
src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
src/SketcherPrs/icons/anchor.png
src/SketcherPrs/icons/equal.png
src/SketcherPrs/icons/horisontal.png
src/SketcherPrs/icons/parallel.png
src/SketcherPrs/icons/perpendicular.png
src/SketcherPrs/icons/tangent.png
src/SketcherPrs/icons/vertical.png

index 2e0a66ae4f245386e223f2a2976b976518685e36..e7648db53b4df56d42d9c6c313920fb8b1053e37 100644 (file)
@@ -90,7 +90,7 @@ gp_Pnt SketcherPrs_PositionMgr::getPosition(ObjectPtr theShape,
   }
   gp_Vec aShift = aVec1.Crossed(thePrs->plane()->norm()->impl<gp_Dir>());
   aShift.Normalize();
-  aShift.Multiply(theStep);
+  aShift.Multiply(theStep * 0.8);
 
   int aPos = getPositionIndex(theShape, thePrs);
   int aM = 1;
index 699bbab1f55e350c8c65f1dc6435a91ea40f3538..b502c47e9be3f3480a16f63bfc2b278197a42240 100644 (file)
@@ -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)
index 5dc7b58273bd6cb0a3303d6df4e084fedc16cae6..40eac942f6f78dbc93951b292a2d8a9c7bf3a222 100644 (file)
Binary files a/src/SketcherPrs/icons/anchor.png and b/src/SketcherPrs/icons/anchor.png differ
index e3af2c6e25b1ca67515c5f56754a68eaa0ead62d..d31b916081e6f81d410e99046973d257b0f4a810 100644 (file)
Binary files a/src/SketcherPrs/icons/equal.png and b/src/SketcherPrs/icons/equal.png differ
index ad67bb2d69f1ac335bc919769ea570a2eb271b93..728148db9d9210846c330000883ed0d187b1dc69 100644 (file)
Binary files a/src/SketcherPrs/icons/horisontal.png and b/src/SketcherPrs/icons/horisontal.png differ
index 49186129f073d5afc7ba2986b8b9b5bfecd94598..415719f886b7b4386f097c99439f45890969834b 100644 (file)
Binary files a/src/SketcherPrs/icons/parallel.png and b/src/SketcherPrs/icons/parallel.png differ
index 8f64a9f82bb09846ccc8acc036243dd477d2019e..cc551bab46ac0d300e3408f1a9c0ee21917eaa98 100644 (file)
Binary files a/src/SketcherPrs/icons/perpendicular.png and b/src/SketcherPrs/icons/perpendicular.png differ
index d4d8cd79fc09da184b0478d40965f61b0bc64cc2..95248bef71c60ab1bd717ab906cee86e8d888b59 100644 (file)
Binary files a/src/SketcherPrs/icons/tangent.png and b/src/SketcherPrs/icons/tangent.png differ
index 68f803392dad74bf4e96f4e6c2794b4be5dacf18..8793abbe1fbaf5f6d3fffcf8a727e788692eb56f 100644 (file)
Binary files a/src/SketcherPrs/icons/vertical.png and b/src/SketcherPrs/icons/vertical.png differ