public void Test_ExtPointF() { var pt = new ExtPointF(11, 11); Assert.AreEqual(11, pt.X); Assert.AreEqual(11, pt.Y); pt.Offset(2, 3); Assert.AreEqual(13, pt.X); Assert.AreEqual(14, pt.Y); Assert.IsFalse(pt.IsEmpty); Assert.AreEqual("{X=13, Y=14}", pt.ToString()); }
public State() { Rotate = 0; Scale = new ExtPointF(1, 1); Translation = new ExtPointF(0, 0); }