6 references to Metafile
System.Drawing.Common.Tests (6)
mono\System.Imaging\MetafileTest.cs (2)
295mf = new Metafile(hdc, EmfType.EmfPlusOnly); 337mf = new Metafile(hdc, EmfType.EmfPlusOnly);
System\Drawing\Imaging\MetafileTests.cs (4)
124using Metafile metafile = new(g.GetHdc(), emfType); 143AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(g.GetHdc(), emfType)); 149AssertExtensions.Throws<ArgumentException>(null, () => new Metafile((IntPtr)null, EmfType.EmfOnly)); 155AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(IntPtr.Zero, EmfType.EmfOnly));