pub struct WriteOptionsPaths {
pub use_compact_notation: bool,
pub join_arc_to_flags: bool,
pub remove_duplicated_commands: bool,
}
pub struct WriteOptions {
pub indent: i8,
pub use_single_quote: bool,
pub trim_hex_colors: bool,
pub write_hidden_attributes: bool,
pub remove_leading_zero: bool,
pub paths: WriteOptionsPaths,
pub simplify_transform_matrices: bool,
}
impl Default for WriteOptions {
fn default() -> WriteOptions {
WriteOptions {
indent: 4,
use_single_quote: false,
trim_hex_colors: false,
write_hidden_attributes: false,
remove_leading_zero: false,
paths: WriteOptionsPaths {
use_compact_notation: false,
join_arc_to_flags: false,
remove_duplicated_commands: false,
},
simplify_transform_matrices: false,
}
}
}