1 write to _currentState
System.Windows.Forms.Primitives.TestUtilities (1)
DeviceContextState.cs (1)
130
_currentState
= _savedStates[index];
29 references to _currentState
System.Windows.Forms.Primitives.TestUtilities (29)
DeviceContextState.cs (29)
56
public HDC_MAP_MODE MapMode { get =>
_currentState
.MapMode; set =>
_currentState
.MapMode = value; }
57
public R2_MODE Rop2Mode { get =>
_currentState
.Rop2Mode; set =>
_currentState
.Rop2Mode = value; }
58
public COLORREF BackColor { get =>
_currentState
.BackColor; set =>
_currentState
.BackColor = value; }
59
public COLORREF TextColor { get =>
_currentState
.TextColor; set =>
_currentState
.TextColor = value; }
60
public Point BrushOrigin { get =>
_currentState
.BrushOrigin; set =>
_currentState
.BrushOrigin = value; }
61
public TEXT_ALIGN_OPTIONS TextAlign { get =>
_currentState
.TextAlign; set =>
_currentState
.TextAlign = value; }
62
public BACKGROUND_MODE BackgroundMode { get =>
_currentState
.BackgroundMode; set =>
_currentState
.BackgroundMode = value; }
63
public LOGFONTW SelectedFont { get =>
_currentState
.SelectedFont; set =>
_currentState
.SelectedFont = value; }
64
public LOGBRUSH SelectedBrush { get =>
_currentState
.SelectedBrush; set =>
_currentState
.SelectedBrush = value; }
65
public EXTLOGPEN32 SelectedPen { get =>
_currentState
.SelectedPen; set =>
_currentState
.SelectedPen = value; }
66
public Point LastBeginPathBrushOrigin { get =>
_currentState
.LastBeginPathBrushOrigin; set =>
_currentState
.LastBeginPathBrushOrigin = value; }
67
public bool InPath { get =>
_currentState
.InPath; set =>
_currentState
.InPath = value; }
68
public Matrix3x2 Transform { get =>
_currentState
.Transform; set =>
_currentState
.Transform = value; }
69
public RECT[] ClipRegion { get =>
_currentState
.ClipRegion; set =>
_currentState
.ClipRegion = value; }
114
public void SaveDC() => _savedStates.Add(
_currentState
);