public void SetUp() { t = DrawingTest.Create(512, 512); }
public virtual void SetUp(string ownerClass) { t = DrawingTest.Create(512, 512, ownerClass); // hashtable of differents tolerance values for specified tests. (for fft comparer) st["DrawArcTest:6"] = TOLERANCE * 2.5f; st["DrawCurveTestF:4"] = TOLERANCE * 2f; st["DrawPolygonPoint:2"] = TOLERANCE * 2f; st["DrawPolygonPointF:2"] = TOLERANCE * 2f; st["DrawStringFloatFormat:2"] = TOLERANCE * 2f; // in .net the font is shmoothed st["DrawStringFloatFormat:4"] = TOLERANCE * 2.5f; // in .net the font is shmoothed st["DrawStringFloatFormat:6"] = TOLERANCE * 2.5f; // in .net the font is shmoothed st["RotateTransformAngleMatrixOrder1:2"] = TOLERANCE * 2f; // Line width problem st["ScaleTransformFloatMatrixOrder:2"] = TOLERANCE * 2f; // Line width problem st["TranslateTransformAngleMatrixOrder:2"] = TOLERANCE * 2f; // Line width problem t.SpecialTolerance = st; }
public virtual void SetUp() { t = DrawingTest.Create(512, 512, "GraphicsFixtureGraphicsState"); }
public virtual void SetUp(string ownerClass) { t = DrawingTest.Create(512, 512, ownerClass); }
public void SetUp () { t = DrawingTest.Create (256, 256); p = new Pen (Color.Blue); p.Width = 10; DrawingTest.ShowForms = false; }
public virtual void SetUp(string ownerClass) { t = DrawingTest.Create(512, 512, ownerClass); t.Graphics.InterpolationMode = InterpolationMode.NearestNeighbor; // hashtable of differents tolerance values for specified tests. }
public void SetUp () { t = DrawingTest.Create (256, 256); Image im=new Bitmap ("Bitmap1.png"); t.Graphics.DrawImageUnscaled (im, 0, 0); }
public void SetUp () { t = DrawingTest.Create (64, 64); Bitmap b = new Bitmap ("Bitmap1.png"); t.Graphics.DrawImageUnscaled (b, 0, 0); DrawingTest.ShowForms = false; }
public void SetUp () { DrawingTest.ShowForms = false; t = DrawingTest.Create (512, 512); p = new Pen (Color.Blue); p.Width = 2; }
public void SetUp () { t = DrawingTest.Create (1000, 1000); rect = new RectangleF (50, 50, 50, 50); r = new Region(rect); }
public virtual void SetUp(string ownerClass) { t = DrawingTest.Create(512, 512, ownerClass); bmp = Bitmap.FromFile("bitmap50.png"); bmp2 = Bitmap.FromFile("bitmap25.png"); }