5 references to new
System.Drawing.Common (1)
System\Drawing\Imaging\Metafile.cs (1)
102
this
(referenceHdc, frameRect, frameUnit, EmfType.EmfPlusDual)
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\MetafileTests.cs (4)
219
using Metafile metafile =
new
(g.GetHdc(), _rectangleF, MetafileFrameUnit.Pixel, emfType);
280
new
Metafile
(IntPtr.Zero, _rectangleF, MetafileFrameUnit.Pixel, EmfType.EmfOnly));
308
AssertExtensions.Throws<ArgumentException>(null, () => new
Metafile
(referenceHdc, _rectangleF, farameUnit, EmfType.EmfOnly));
326
new
Metafile
(referenceHdc, _rectangleF, MetafileFrameUnit.GdiCompatible, emfType));