Ejemplo n.º 1
0
        //-------------------------------------------------------------------
        public Affine ToAffine()
        {
            Affine mtx = Affine.NewTranslation(-m_wx1, -m_wy1);

            mtx *= Affine.NewScaling(m_kx, m_ky);
            mtx *= Affine.NewTranslation(m_dx1, m_dy1);
            return(mtx);
        }
Ejemplo n.º 2
0
 public Perspective Scale(double x, double y)
 {
     Multiply(Affine.NewScaling(x, y));
     return(this);
 }
Ejemplo n.º 3
0
 public Perspective Scale(double s)
 {
     Multiply(Affine.NewScaling(s));
     return(this);
 }
Ejemplo n.º 4
0
 //-------------------------------------------------------------------
 public Affine ToAffineScaleOnly()
 {
     return(Affine.NewScaling(m_kx, m_ky));
 }