4 instantiations of WindowsGraphics
System.Windows.Forms (4)
misc\GDI\WindowsGraphics.cs (4)
83
WindowsGraphics wg = new
WindowsGraphics
(dc);
99
WindowsGraphics wg = new
WindowsGraphics
(dc);
109
WindowsGraphics wg = new
WindowsGraphics
( dc );
123
WindowsGraphics wg = new
WindowsGraphics
( dc );
22 references to WindowsGraphics
System.Windows.Forms (22)
misc\GDI\MeasurementDCInfo.cs (3)
36
WindowsGraphics
sharedGraphics = WindowsGraphicsCacheManager.GetCurrentMeasurementGraphics();
63
internal static IntNativeMethods.DRAWTEXTPARAMS GetTextMargins(
WindowsGraphics
wg, WindowsFont font) {
88
WindowsGraphics
sharedGraphics = WindowsGraphicsCacheManager.GetCurrentMeasurementGraphics();
misc\GDI\WindowsFont.cs (2)
467
WindowsGraphics
wg = WindowsGraphicsCacheManager.MeasurementGraphics;
526
WindowsGraphics
wg = WindowsGraphicsCacheManager.MeasurementGraphics;
misc\GDI\WindowsGraphics.cs (13)
80
public static
WindowsGraphics
CreateMeasurementWindowsGraphics()
83
WindowsGraphics
wg = new WindowsGraphics(dc);
96
public static
WindowsGraphics
CreateMeasurementWindowsGraphics(IntPtr screenDC)
99
WindowsGraphics
wg = new WindowsGraphics(dc);
106
public static
WindowsGraphics
FromHwnd(IntPtr hWnd)
109
WindowsGraphics
wg = new WindowsGraphics( dc );
118
public static
WindowsGraphics
FromHdc(IntPtr hDc)
123
WindowsGraphics
wg = new WindowsGraphics( dc );
154
public static
WindowsGraphics
FromGraphics(Graphics g)
157
return
WindowsGraphics
.FromGraphics(g, properties);
162
public static
WindowsGraphics
FromGraphics(Graphics g, ApplyGraphicsProperties properties)
210
WindowsGraphics
wg =
WindowsGraphics
.FromHdc( g.GetHdc() ); // This locks the Graphics object.
misc\GDI\WindowsGraphicsCacheManager.cs (4)
46
private static
WindowsGraphics
measurementGraphics;
99
public static
WindowsGraphics
MeasurementGraphics
112
measurementGraphics =
WindowsGraphics
.CreateMeasurementWindowsGraphics();
121
internal static
WindowsGraphics
GetCurrentMeasurementGraphics()