Sync code default values with Pref defaults

This commit is contained in:
wandererfan
2018-03-10 16:34:57 -05:00
committed by wmayer
parent 74375f6623
commit 5d363b450a
6 changed files with 10 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ QPainterPath QGIArrow::makeFilledTriangle(double length, double width, bool flip
if (!flipped) {
length *= -1;
}
QPainterPath path;
path.moveTo(QPointF(0.,0.));
path.lineTo(QPointF(Rez::guiX(length),Rez::guiX(-width)));
@@ -106,7 +106,7 @@ QPainterPath QGIArrow::makeOpenArrow(double length, double width, bool flipped)
if (!flipped) {
length *= -1;
}
QPainterPath path;
path.moveTo(QPointF(Rez::guiX(length),Rez::guiX(-width)));
path.lineTo(QPointF(0.,0.));
@@ -163,7 +163,7 @@ double QGIArrow::getPrefArrowSize()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().
GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Dimensions");
double style = hGrp->GetFloat("ArrowSize", 5.0);
double style = hGrp->GetFloat("ArrowSize", 3.5);
return style;
}