Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 public Vex.Point LocalToContainer(Vex.Point pt)
 {
     Vex.Point result = Gdi.GdiRenderer.GetTransformedPoint(pt.SysPointF(), GetSysMatrix(), false).VexPoint();
     return(result);
 }