Пример #1
0
        public void Transform(Transform transform)
        {
            var currentTx = renderTarget.Transform;
            var tx        = new Matrix3x2(
                (float)transform.A, (float)transform.B,
                (float)transform.C, (float)transform.D,
                (float)transform.E, (float)transform.F);

            renderTarget.Transform = tx * currentTx;
        }
Пример #2
0
 public void Transform(Transform transform)
 {
     var currentTx = renderTarget.Transform;
     var tx = new Matrix3x2 (
         (float)transform.A, (float)transform.B,
         (float)transform.C, (float)transform.D,
         (float)transform.E, (float)transform.F);
     renderTarget.Transform = tx * currentTx;
 }