Mul() public method

public Mul ( HMatrix by ) : HMatrix
by HMatrix
return HMatrix
Example #1
0
 public void Scale(double z1, double z2)
 {
     transformMatrix = transformMatrix.Mul(
         new HMatrix(
             z1, 0, 0,
             0, z2, 0,
             0, 0, 1));
 }
Example #2
0
        private HPoint TransformPointRelative(HPoint p)
        {
            var t = new HMatrix(transformMatrix);

            t[2, 0] = 0;
            t[2, 1] = 0;
            return(t.Mul(p));
        }
Example #3
0
 private HPoint TransformPointRelative(HPoint p)
 {
     var t = new HMatrix(transformMatrix);
     t[2, 0] = 0;
     t[2, 1] = 0;
     return t.Mul(p);
 }