mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
See #2894. Implement SVG mirroring options (typically used for RCPs or useful when converting to other things like DXF).
This commit is contained in:
@@ -524,6 +524,8 @@ protected:
|
||||
bool emit_building_storeys_;
|
||||
bool no_css_;
|
||||
bool unify_inputs_;
|
||||
bool mirror_y_;
|
||||
bool mirror_x_;
|
||||
|
||||
int profile_threshold_;
|
||||
|
||||
@@ -575,6 +577,8 @@ public:
|
||||
, polygonal_(false)
|
||||
, emit_building_storeys_(true)
|
||||
, no_css_(false)
|
||||
, mirror_y_(false)
|
||||
, mirror_x_(false)
|
||||
, unify_inputs_(false)
|
||||
, profile_threshold_(-1)
|
||||
, file(0)
|
||||
@@ -716,6 +720,22 @@ public:
|
||||
return profile_threshold_;
|
||||
}
|
||||
|
||||
void setMirrorY(bool b) {
|
||||
mirror_y_ = b;
|
||||
}
|
||||
|
||||
bool getMirrorY() const {
|
||||
return mirror_y_;
|
||||
}
|
||||
|
||||
void setMirrorX(bool b) {
|
||||
mirror_x_ = b;
|
||||
}
|
||||
|
||||
bool getMirrorX() const {
|
||||
return mirror_x_;
|
||||
}
|
||||
|
||||
protected:
|
||||
std::string writeMetadata(const drawing_meta& m);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user