4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\MetafileTests.cs (4)
256using Metafile metafile = new(g.GetHdc(), _rectangle, MetafileFrameUnit.Pixel, emfType); 284new Metafile(IntPtr.Zero, _rectangle, MetafileFrameUnit.Pixel, EmfType.EmfOnly)); 310AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(referenceHdc, _rectangle, farameUnit, EmfType.EmfOnly)); 328new Metafile(referenceHdc, _rectangle, MetafileFrameUnit.GdiCompatible, emfType));