6 references to CreateCompatibleDC
System.Drawing.Common (1)
System\Drawing\BufferedGraphicsContext.cs (1)
310
_compatDC = PInvokeCore.
CreateCompatibleDC
(src);
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (2)
25
/// Creates a compatible HDC for <paramref name="hdc"/> using <see cref="PInvokeCore.
CreateCompatibleDC
(HDC)"/>.
34
HDC = PInvokeCore.
CreateCompatibleDC
(hdc);
System.Windows.Forms (3)
System\Windows\Forms\Control.MetafileDCWrapper.cs (1)
40
HDC = PInvokeCore.
CreateCompatibleDC
(default);
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (1)
30
_cachedItemHDC = PInvokeCore.
CreateCompatibleDC
(toolStripHDC);
System\Windows\Forms\Rendering\ScreenDcCache.cs (1)
56
return new ScreenDcScope(this, PInvokeCore.
CreateCompatibleDC
(default));