1 instantiation of ScreenDcCache
System.Windows.Forms (1)
System\Windows\Forms\Rendering\GdiCache.cs (1)
33
public static ScreenDcCache.ScreenDcScope GetScreenHdc() => (s_dcCache ??= new
ScreenDcCache
()).Acquire();
8 references to ScreenDcCache
System.Windows.Forms (8)
System\Windows\Forms\Rendering\GdiCache.cs (3)
14
private static
ScreenDcCache
? s_dcCache;
33
public static
ScreenDcCache
.ScreenDcScope GetScreenHdc() => (s_dcCache ??= new ScreenDcCache()).Acquire();
51
ScreenDcCache
.ScreenDcScope scope = GetScreenHdc();
System\Windows\Forms\Rendering\GdiCache.ScreenGraphicsScope.cs (3)
11
/// Scope that creates a wrapping <see cref="Drawing.Graphics"/> for a <see cref="
ScreenDcCache
.ScreenDcScope"/>
20
private readonly
ScreenDcCache
.ScreenDcScope _dcScope;
23
public ScreenGraphicsScope(scoped ref
ScreenDcCache
.ScreenDcScope scope)
System\Windows\Forms\Rendering\ScreenDcCache.ScreenDcScope.cs (2)
18
private readonly
ScreenDcCache
_cache;
20
public ScreenDcScope(
ScreenDcCache
cache, HDC hdc)