4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\MetafileTests.cs (4)
216using Metafile metafile = new(g.GetHdc(), _rectangleF, MetafileFrameUnit.Pixel, emfType); 277new Metafile(IntPtr.Zero, _rectangleF, MetafileFrameUnit.Pixel, EmfType.EmfOnly)); 305AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(referenceHdc, _rectangleF, farameUnit, EmfType.EmfOnly)); 323new Metafile(referenceHdc, _rectangleF, MetafileFrameUnit.GdiCompatible, emfType));