4 writes to SelectedPen
System.Windows.Forms.Primitives.TestUtilities (4)
DeviceContextState.cs (4)
49
SelectedPen
= logpen;
172
SelectedPen
= logPen;
191
SelectedPen
= savedRecord.CreatePenRecord->lopn;
194
SelectedPen
= savedRecord.ExtCreatePenRecord->elp;
6 references to SelectedPen
System.Windows.Forms.Primitives.TestUtilities (6)
Metafiles\Validators\PenColorValidator.cs (1)
14
public void Validate(DeviceContextState state) => Assert.Equal((COLORREF)_penColor, state.
SelectedPen
.elpColor);
Metafiles\Validators\PenStyleValidator.cs (1)
12
public void Validate(DeviceContextState state) => Assert.Equal(_penStyle, state.
SelectedPen
.elpPenStyle);
Metafiles\Validators\PenValidator.cs (3)
25
Assert.Equal(_penWidth, (int)state.
SelectedPen
.elpWidth);
26
Assert.Equal((COLORREF)_penColor, state.
SelectedPen
.elpColor);
27
Assert.Equal(_penStyle, state.
SelectedPen
.elpPenStyle);
Metafiles\Validators\PenWidthValidator.cs (1)
12
public void Validate(DeviceContextState state) => Assert.Equal(_penWidth, (int)state.
SelectedPen
.elpWidth);