summaryrefslogtreecommitdiffstats
path: root/packages/svgbob/src/settings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/svgbob/src/settings.rs')
-rw-r--r--packages/svgbob/src/settings.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/svgbob/src/settings.rs b/packages/svgbob/src/settings.rs
index 22c2085..f1f9212 100644
--- a/packages/svgbob/src/settings.rs
+++ b/packages/svgbob/src/settings.rs
@@ -14,8 +14,6 @@ pub struct Settings {
pub stroke_width: f32,
/// the scale multiplier
pub scale: f32,
- /// flag whether to enhace circuitries or not, default true
- pub enhance_circuitries: bool,
/// flag whether to include the big rectangle as backdrop
/// for all of the svg shapes
pub include_backdrop: bool,
@@ -23,14 +21,6 @@ pub struct Settings {
pub include_styles: bool,
/// flag whether to include the def of markers, etc in the svg
pub include_defs: bool,
- /// merge lines and shapes like triangle,circle,rect to form arrow lines or marker line
- pub merge_line_with_shapes: bool,
-}
-impl Settings {
- /// the inverse of the default scale 10
- pub fn scale_inverse(&self) -> f32 {
- 1.0 / self.scale
- }
}
impl Default for Settings {
@@ -43,11 +33,9 @@ impl Default for Settings {
stroke_color: "black".into(),
stroke_width: 2.0,
scale: 8.0,
- enhance_circuitries: true,
include_backdrop: true,
include_styles: true,
include_defs: true,
- merge_line_with_shapes: false,
}
}
}