Exemplo n.º 1
0
        public sfc.Transform GetCombinedTransform()
        {
            if (this.transforms.Count < 1)
            {
                return(sfc.Transforms.DoNothing);
            }
            else if (this.transforms.Count == 1)
            {
                return(this.transforms[0]);
            }
            else
            {
                sfc.Transform result = this.transforms[0];

                for (int i = 1; i < this.transforms.Count; i++)
                {
                    result = sfc.Transforms.CompositeTransform(result, this.transforms[i]);
                }

                return(result);
            }
        }
Exemplo n.º 2
0
        public void RemoveTransform(IRI.Ket.Spatial.Primitives.Transform transform)
        {
            this.transforms.Remove(transform);

            Refresh();
        }
Exemplo n.º 3
0
        public void AddTransform(IRI.Ket.Spatial.Primitives.Transform transform)
        {
            this.transforms.Add(transform);

            Refresh();
        }