Exemplo 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());
 }
Exemplo n.º 2
0
 public void SetMatrix(Vex.Matrix m)
 {
     Vex.Transform t = instance.GetTransformAtTime(0);
     t.Matrix = m;
     if (sysMatrix != null)
     {
         sysMatrix.Dispose();
     }
     sysMatrix          = m.SysMatrix();
     HasSaveableChanges = true;
 }