24 references to WindowsGraphics
System.Windows.Forms (24)
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (5)
95
wgr.
WindowsGraphics
.DrawText(text, wf, pt, foreColor, GetIntTextFormatFlags(flags));
113
wgr.
WindowsGraphics
.DrawText(text, wf, pt, foreColor, backColor, GetIntTextFormatFlags(flags));
185
wgr.
WindowsGraphics
.DrawText( text, wf, bounds, foreColor, GetIntTextFormatFlags( flags ) );
203
wgr.
WindowsGraphics
.DrawText(text, wf, bounds, foreColor, backColor, GetIntTextFormatFlags(flags));
332
return wgr.
WindowsGraphics
.MeasureText(text, wf, proposedSize, GetIntTextFormatFlags(flags));
winforms\Managed\System\WinForms\GDI\WindowsGraphicsWrapper.cs (2)
62
this.wg =
WindowsGraphics
.FromGraphics( idc as Graphics, properties);
85
this.wg =
WindowsGraphics
.FromHdc( idc.GetHdc() );
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (17)
288
HandleRef hdc = new HandleRef(wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc);
322
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
360
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
451
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
496
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
519
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
543
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
571
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
683
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
754
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
788
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
833
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
877
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
902
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
923
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
947
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );
990
HandleRef hdc = new HandleRef( wgr, wgr.
WindowsGraphics
.DeviceContext.Hdc );