[TD]fix Section scale for DPGI base views
This commit is contained in:
@@ -329,6 +329,16 @@ double DrawProjGroupItem::getScale(void) const
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
int DrawProjGroupItem::getScaleType() const
|
||||
{
|
||||
auto pgroup = getPGroup();
|
||||
if (pgroup) {
|
||||
return pgroup->getScaleType();
|
||||
}
|
||||
|
||||
return ScaleType.getValue();
|
||||
}
|
||||
|
||||
void DrawProjGroupItem::unsetupObject()
|
||||
{
|
||||
if (!getPGroup()) {
|
||||
|
||||
@@ -86,6 +86,7 @@ public:
|
||||
const bool flip=true) const override;
|
||||
|
||||
double getScale() const override;
|
||||
int getScaleType() const override;
|
||||
void autoPosition();
|
||||
bool isAnchor() const;
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ public:
|
||||
void showProgressMessage(std::string featureName, std::string text);
|
||||
|
||||
virtual double getScale(void) const;
|
||||
virtual int getScaleType() const { return ScaleType.getValue(); };
|
||||
void checkScale(void);
|
||||
|
||||
virtual void handleXYLock(void);
|
||||
|
||||
Reference in New Issue
Block a user