Beispiel #1
0
        internal DUIMatrix Clone()
        {
            DUIMatrix dxMmatrix = new DUIMatrix();

            dxMmatrix.matrix = new System.Drawing.Drawing2D.Matrix(
                this.matrix.Elements[0],
                this.matrix.Elements[1],
                this.matrix.Elements[2],
                this.matrix.Elements[3],
                this.matrix.Elements[4],
                this.matrix.Elements[5]);
            dxMmatrix.RefreshMatrix3x2();
            return(dxMmatrix);
        }
Beispiel #2
0
 public void Multiply(DUIMatrix dUIMatrix, System.Drawing.Drawing2D.MatrixOrder matrixOrder)
 {
     this.matrix.Multiply(dUIMatrix, matrixOrder);
     RefreshMatrix3x2();
 }
Beispiel #3
0
 public void BeginDraw(Region r)
 {
     this.matrix = new DUIMatrix();
     this.target.BeginDraw();
     this.TranslateTransform(0.5F, 0.5F);
 }
Beispiel #4
0
 public void Multiply(DUIMatrix dUIMatrix)
 {
     Multiply(dUIMatrix, System.Drawing.Drawing2D.MatrixOrder.Prepend);
 }
Beispiel #5
0
 public DUIGraphicsState(DUIMatrix dUIMatrix, DUISmoothingMode dUISmoothingMode, DUITextRenderingHint dUITextRenderingHint)
 {
     this.dUIMatrix            = dUIMatrix;
     this.dUISmoothingMode     = dUISmoothingMode;
     this.dUITextRenderingHint = dUITextRenderingHint;
 }