public CanonicalDecomposition(CanonicalDecomposition sourceDecomposition) { this.Center = sourceDecomposition.center; this.Scale = sourceDecomposition.scale; this.Skew = sourceDecomposition.skew; this.RotationAngle = sourceDecomposition.rotationAngle; this.Translation = sourceDecomposition.translation; this.UpdateValue(); }
private void ReadTransform(Transform transform, bool useIfChangeable) { if (this.ReadCanonicalForm(transform, useIfChangeable)) { return; } this.decomposition = new CanonicalDecomposition(transform.Value); this.InitializeTransformGroup(); }
private CanonicalTransform(Transform transform, bool useIfChangeable) { if (transform == null) { this.Initialize(); } else { this.decomposition = new CanonicalDecomposition(); this.ReadTransform(transform, useIfChangeable); } }
public CanonicalTransform(Matrix transform) { if (transform.IsIdentity) { this.Initialize(); } else { this.decomposition = new CanonicalDecomposition(transform); this.InitializeTransformGroup(); } }
public CanonicalTransform(Transform transform) { if (transform == null) { this.Initialize(); } else { this.decomposition = new CanonicalDecomposition(); this.ReadTransform(transform, false); } }
public CanonicalTransform(CanonicalTransform canonicalTransform) { if (canonicalTransform == (CanonicalTransform)null) { this.Initialize(); } else { this.decomposition = (CanonicalDecomposition)canonicalTransform.decomposition.Clone(); this.InitializeTransformGroup(); } }
private void Initialize() { this.decomposition = new CanonicalDecomposition(); this.InitializeTransformGroup(); }