2 implementations of GetGraphics
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
165IGraphics? IGraphicsHdcProvider.GetGraphics(bool createIfNeeded) => _event.GetGraphics(createIfNeeded);
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
138IGraphics? IGraphicsHdcProvider.GetGraphics(bool createIfNeeded) => _event.GetGraphics(createIfNeeded);
5 references to GetGraphics
System.Private.Windows.GdiPlus (2)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
134graphics = provider.GetGraphics(createIfNeeded: true);
Windows\Win32\Graphics\Gdi\IGraphicsHdcProvider.cs (1)
15/// <see cref="GetGraphics(bool)"/> should not have a <see cref="GpRegion"/> clip or GpMatrix
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
176IGraphicsHdcProvider provider => (Graphics?)provider.GetGraphics(create),
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (2)
261.Setup(p => p.GetGraphics(true)) 270mockHdcProvider.Verify(p => p.GetGraphics(true), Times.Once());