[TD]add preference methods for Projection Group
This commit is contained in:
@@ -155,6 +155,21 @@ int Preferences::projectionAngle()
|
||||
return getPreferenceGroup("General")->GetInt("ProjectionAngle", 0); //First Angle
|
||||
}
|
||||
|
||||
bool Preferences::groupAutoDistribute()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("AutoDist", true);
|
||||
}
|
||||
|
||||
double Preferences::groupSpaceX()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetFloat("GroupSpaceX", 15.0);
|
||||
}
|
||||
|
||||
double Preferences::groupSpaceY()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetFloat("GroupSpaceY", 15.0);
|
||||
}
|
||||
|
||||
int Preferences::lineGroup()
|
||||
{
|
||||
return getPreferenceGroup("Decorations")->GetInt("LineGroup", 3); // FC 0.70mm
|
||||
|
||||
@@ -64,6 +64,9 @@ public:
|
||||
static bool keepPagesUpToDate();
|
||||
|
||||
static int projectionAngle();
|
||||
static bool groupAutoDistribute();
|
||||
static double groupSpaceX();
|
||||
static double groupSpaceY();
|
||||
|
||||
static int balloonArrow();
|
||||
static double balloonKinkLength();
|
||||
|
||||
Reference in New Issue
Block a user