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