38 references to DeviceContextState
System.Windows.Forms.Primitives.TestUtilities (38)
Metafiles\EmfRecord.cs (1)
163
public string ToString(
DeviceContextState
state) => Type switch
Metafiles\EmfScope.cs (3)
109
public unsafe void EnumerateWithState(ProcessRecordWithStateDelegate enumerator,
DeviceContextState
state)
220
public string RecordsToStringWithState(
DeviceContextState
state)
223
EnumerateWithState((ref EmfRecord record,
DeviceContextState
state) =>
Metafiles\ProcessRecordWithStateDelegate.cs (1)
8
internal delegate bool ProcessRecordWithStateDelegate(ref EmfRecord record,
DeviceContextState
state);
Metafiles\RecordTypes\EMRPOLY16.cs (1)
44
public string ToString(
DeviceContextState
state)
Metafiles\RecordTypes\EMRPOLYPOLY16.cs (1)
36
public string ToString(
DeviceContextState
? state)
Metafiles\Validators\ActionValidator.cs (1)
31
public void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\BackgroundModeValidator.cs (1)
12
public void Validate(
DeviceContextState
state) => Assert.Equal(_backgroundMode, state.BackgroundMode);
Metafiles\Validators\BitBltValidator.cs (1)
25
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\BrushColorValidator.cs (1)
14
public void Validate(
DeviceContextState
state) => Assert.Equal((COLORREF)_brushColor, state.SelectedBrush.lbColor);
Metafiles\Validators\BrushStyleValidator.cs (1)
12
public void Validate(
DeviceContextState
state) => Assert.Equal(_brushStyle, state.SelectedBrush.lbStyle);
Metafiles\Validators\BrushValidator.cs (1)
21
public void Validate(
DeviceContextState
state)
Metafiles\Validators\ClippingValidator.cs (1)
13
public void Validate(
DeviceContextState
state)
Metafiles\Validators\EmfValidator.cs (2)
14
DeviceContextState
state,
23
emf.EnumerateWithState((ref EmfRecord record,
DeviceContextState
state) =>
Metafiles\Validators\FontFaceNameValidator.cs (1)
15
public void Validate(
DeviceContextState
state) => Assert.Equal(_fontFaceName, state.SelectedFont.FaceName.ToString());
Metafiles\Validators\IEmfValidator.cs (1)
24
void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete);
Metafiles\Validators\IStateValidator.cs (1)
10
void Validate(
DeviceContextState
state);
Metafiles\Validators\LineToValidator.cs (1)
29
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
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 (1)
23
public void Validate(
DeviceContextState
state)
Metafiles\Validators\PenWidthValidator.cs (1)
12
public void Validate(
DeviceContextState
state) => Assert.Equal(_penWidth, (int)state.SelectedPen.elpWidth);
Metafiles\Validators\Polygon16Validator.cs (1)
25
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\Polyline16Validator.cs (1)
25
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\PolyPolygon16Validator.cs (1)
23
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\PolyPolyline16Validator.cs (1)
23
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\RectangleValidator.cs (1)
25
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\RepeatValidator.cs (1)
21
public void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\Rop2Validator.cs (1)
12
public void Validate(
DeviceContextState
state) => Assert.Equal(_rop2Mode, state.Rop2Mode);
Metafiles\Validators\SkipAllValidator.cs (1)
14
public void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\SkipToValidator.cs (1)
16
public void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\SkipTypesValidator.cs (1)
16
public void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete) => complete = true;
Metafiles\Validators\StateValidator.cs (1)
17
public virtual void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\TextColorValidator.cs (1)
14
public void Validate(
DeviceContextState
state) => Assert.Equal((COLORREF)_textColor, state.TextColor);
Metafiles\Validators\TextOutValidator.cs (1)
29
public override unsafe void Validate(ref EmfRecord record,
DeviceContextState
state, out bool complete)
Metafiles\Validators\TransformValidator.cs (1)
14
public void Validate(
DeviceContextState
state) => Assert.Equal(_transform, state.Transform);