public static Vex.Point GetTransformedPoint(Vex.Point pt, Vex.Matrix m, bool invert) { PointF[] pts = new PointF[] { pt.SysPointF() }; using (Matrix ms = m.SysMatrix()) { TransformPoints(pts, ms, invert); } return(pts[0].VexPoint()); }
public Vex.Point LocalToContainer(Vex.Point pt) { Vex.Point result = Gdi.GdiRenderer.GetTransformedPoint(pt.SysPointF(), GetSysMatrix(), false).VexPoint(); return(result); }