acadrust 0.6.7

A pure Rust library for reading and writing CAD files in DXF format (ASCII and Binary) and DWG format (Binary).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::super::transform;
use super::*;

pub(crate) fn mirror_mline(e: &mut MLine, transform: &Transform) {
    if !valid_transform(transform) {
        return;
    }
    transform::transform_mline(e, transform);
    if transform::is_reflecting(transform) {
        e.scale_factor = -e.scale_factor;
    }
    e.common.raw_record = None;
}