Пример #1
0
            public ObjectDetails(PrintDetails.ObjectDetails other)
                : this()
            {
                filename               = other.filename;
                printerViewXMLFile     = other.printerViewXMLFile;
                printerSettingsXMLFile = other.printerSettingsXMLFile;
                hidecontrols           = other.hidecontrols;
                if (other.transform == null)
                {
                    return;
                }

                transform = new PrintDetails.Transform(other.transform);
            }
Пример #2
0
 public Transform(PrintDetails.Transform other)
 {
     translation = other.translation;
     scale       = other.scale;
     rotation    = other.rotation;
 }
Пример #3
0
 public ObjectDetails(string filename, PrintDetails.Transform transform)
     : this()
 {
     this.filename  = filename;
     this.transform = transform;
 }