@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Transformation matrix used by GetWorldTransform, SetWorldTransform and ModifyWorldTransform. !!!!C# Definition /// <summary> /// The XFORM structure specifies a world-space to page-space transformation. /// </summary> [StructLayout(LayoutKind.Sequential)] public struct XFORM { public float eM11; public float eM12; public float eM21; public float eM22; public float eDx; public float eDy; public XFORM(float eM11, float eM12, float eM21, float eM22, float eDx, float eDy) { this.eM11 = eM11; this.eM12 = eM12; this.eM21 = eM21; this.eM22 = eM22; this.eDx = eDx; this.eDy = eDy; } /// <summary> /// Allows implicit converstion to a managed transformation matrix. /// </summary> public static implicit operator System.Drawing.Drawing2D.Matrix(XFORM xf) { return new System.Drawing.Drawing2D.Matrix(xf.eM11, xf.eM12, xf.eM21, xf.eM22, xf.eDx, xf.eDy); } /// <summary> /// Allows implicit converstion from a managed transformation matrix. /// </summary> public static implicit operator XFORM(System.Drawing.Drawing2D.Matrix m) { float[] elems = m.Elements; return new XFORM(elems[0], elems[1], elems[2], elems[3], elems[4], elems[5]); } } !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: XFORM@msdn on MSDN
Edit gdi32.XFORM
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.