[TD]add preference methods for Projection Group

This commit is contained in:
wandererfan
2024-09-30 11:00:56 -05:00
committed by Chris Hennes
parent 4d54b458a7
commit b885af57b2
2 changed files with 18 additions and 0 deletions
+15
View File
@@ -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
+3
View File
@@ -65,6 +65,9 @@ public:
static bool keepPagesUpToDate();
static int projectionAngle();
static bool groupAutoDistribute();
static double groupSpaceX();
static double groupSpaceY();
static int balloonArrow();
static double balloonKinkLength();