2 implementations of GetGraphics
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
165
IGraphics? IGraphicsHdcProvider.
GetGraphics
(bool createIfNeeded) => _event.GetGraphics(createIfNeeded);
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
138
IGraphics? IGraphicsHdcProvider.
GetGraphics
(bool createIfNeeded) => _event.GetGraphics(createIfNeeded);
3 references to GetGraphics
System.Private.Windows.GdiPlus (2)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
134
graphics = provider.
GetGraphics
(createIfNeeded: true) ?? throw new InvalidOperationException();
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)
176
IGraphicsHdcProvider provider => (Graphics?)provider.
GetGraphics
(create),