예제 #1
0
        public void TestToString()
        {
            TextOutline outline = new TextOutline("Cl", font, emSize);
            var         bounds  = outline.GetBounds();

            Assert.AreEqual(
                "Cl [x=" + ToString(bounds.X) + ", y=" + ToString(bounds.Y)
                + ", w=" + ToString(bounds.Width) + ", h=" + ToString(bounds.Height) + "]",
                outline.ToString());
        }