12 references to MeasurementDCInfo
System.Windows.Forms (12)
misc\GDI\DeviceContext.cs (2)
538
if (previousFont != null &&
MeasurementDCInfo
.IsMeasurementDC(this)) {
550
MeasurementDCInfo
.ResetIfIsMeasurementDC(this.hDC);
misc\GDI\DeviceContext2.cs (7)
187
if (
MeasurementDCInfo
.IsMeasurementDC(this))
189
WindowsFont font =
MeasurementDCInfo
.LastUsedFont;
281
if (
MeasurementDCInfo
.IsMeasurementDC(this)) {
288
if (
MeasurementDCInfo
.IsMeasurementDC(this))
292
MeasurementDCInfo
.LastUsedFont = font;
297
MeasurementDCInfo
.Reset();
311
MeasurementDCInfo
.ResetIfIsMeasurementDC(this.Hdc);
misc\GDI\WindowsGraphics2.cs (3)
396
if (font != null && !
MeasurementDCInfo
.IsMeasurementDC(this.dc)) {
460
if (
MeasurementDCInfo
.IsMeasurementDC(this.DeviceContext))
462
dtparams =
MeasurementDCInfo
.GetTextMargins(this,font);