60 references to SweepDirection
PresentationCore (31)
MS\Internal\Ink\StrokeRenderer.cs (1)
963
SweepDirection
.Clockwise,
MS\Internal\Media\ParserStreamGeometryContext.cs (7)
213
public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin)
490
SweepDirection
sweepDirection;
588
private static
SweepDirection
BoolToSweep(bool value)
591
return
SweepDirection
.Counterclockwise;
593
return
SweepDirection
.Clockwise;
596
private static bool SweepToBool(
SweepDirection
sweep)
598
if (sweep ==
SweepDirection
.Counterclockwise)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\SweepDirectionValidation.cs (4)
40
SweepDirection
value = (
SweepDirection
) valueObject;
42
return (value ==
SweepDirection
.Counterclockwise) ||
43
(value ==
SweepDirection
.Clockwise);
System\Windows\Media\ArcSegment.cs (2)
54
SweepDirection
sweepDirection,
166
SweepDirection ==
SweepDirection
.Clockwise ? "1" : "0",
System\Windows\Media\ByteStreamGeometryContext.cs (2)
215
public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin)
238
arcToSegment.Sweep = (uint)(sweepDirection ==
SweepDirection
.Clockwise ? 1 : 0);
System\Windows\Media\Composition.cs (1)
297
SweepDirection
fSweepUp, // Sweep the arc increasing the angle if TRUE
System\Windows\Media\Generated\ArcSegment.cs (6)
152
public
SweepDirection
SweepDirection
156
return (
SweepDirection
) GetValue(SweepDirectionProperty);
266
internal const
SweepDirection
c_SweepDirection =
SweepDirection
.Counterclockwise;
329
typeof(
SweepDirection
),
331
SweepDirection
.Counterclockwise,
System\Windows\Media\ParsersCommon.cs (2)
696
sweep ?
SweepDirection
.Clockwise :
SweepDirection
.Counterclockwise,
System\Windows\Media\PathGeometry.cs (2)
246
(pSegmentArc->Sweep == 0) ?
SweepDirection
.Counterclockwise :
SweepDirection
.Clockwise,
System\Windows\Media\PathStreamGeometryContext.cs (3)
56
s_defaultValueForArcSegmentSweepDirection = (
SweepDirection
)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment));
246
public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin)
490
private static
SweepDirection
s_defaultValueForArcSegmentSweepDirection;
System\Windows\Media\StreamGeometryContext.cs (1)
134
public abstract void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin);
PresentationFramework (5)
System\Windows\Controls\Border.cs (4)
730
ctx.ArcTo(rightTop, new Size(radiusX, radiusY), 0, false,
SweepDirection
.Clockwise, true, false);
742
ctx.ArcTo(bottomRight, new Size(radiusX, radiusY), 0, false,
SweepDirection
.Clockwise, true, false);
754
ctx.ArcTo(leftBottom, new Size(radiusX, radiusY), 0, false,
SweepDirection
.Clockwise, true, false);
766
ctx.ArcTo(topLeft, new Size(radiusX, radiusY), 0, false,
SweepDirection
.Clockwise, true, false);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
190
public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin)
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
625
borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 0.5, bounds.Bottom - 2.5), new Size(2.0, 2.0), 0.0, false,
SweepDirection
.Counterclockwise, true));
627
borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 2.5, bounds.Top + 0.5), new Size(2.0, 2.0), 0.0, false,
SweepDirection
.Counterclockwise, true));
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
625
borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 0.5, bounds.Bottom - 2.5), new Size(2.0, 2.0), 0.0, false,
SweepDirection
.Counterclockwise, true));
627
borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 2.5, bounds.Top + 0.5), new Size(2.0, 2.0), 0.0, false,
SweepDirection
.Counterclockwise, true));
PresentationFramework.Classic (8)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (8)
1082
figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false,
SweepDirection
.Clockwise, true)); //top left rounded corner
1084
figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false,
SweepDirection
.Clockwise, true)); //top right corner
1086
figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false,
SweepDirection
.Counterclockwise, true)); //inner top right rounded corner
1088
figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false,
SweepDirection
.Counterclockwise, true));//inner top left rounder corner
1114
figure.Segments.Add(new ArcSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), innerCorner, 0.0, false,
SweepDirection
.Counterclockwise, true)); //inner left rounded corner
1116
figure.Segments.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false,
SweepDirection
.Clockwise, true)); //top right corner
1398
sgc.ArcTo(new Point(10, 2), new Size(4, 4), 0, false,
SweepDirection
.Clockwise, true, false);
1427
sgc.ArcTo(new Point(10, 2), new Size(4, 4), 0, false,
SweepDirection
.Counterclockwise, true, false);
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
183
ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false,
SweepDirection
.Clockwise, true);
191
arc = new ArcSegment(new Point(0.5, 0.5), new Size(2.0, 2.0), 90.0, false,
SweepDirection
.Clockwise, true);
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
112
ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false,
SweepDirection
.Clockwise, true);
120
arc = new ArcSegment(new Point(0.5, 0.5), new Size(2.0, 2.0), 90.0, false,
SweepDirection
.Clockwise, true);
ReachFramework (8)
AlphaFlattener\Utility.cs (1)
2764
public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc,
SweepDirection
sweepDirection, bool isStroked, bool isSmoothJoin)
Serialization\DrawingContextFlattener.cs (5)
537
SweepDirection
eSweepDirection, // Direction n which to sweep the arc.
584
if (eSweepDirection ==
SweepDirection
.Clockwise)
720
SweepDirection
eSweepDirection, // Sweep the arc while increasing the angle if TRUE
799
if (fIsLargeArc != (eSweepDirection ==
SweepDirection
.Clockwise))
839
if (eSweepDirection ==
SweepDirection
.Counterclockwise)
Serialization\VisualSerializer.cs (2)
1186
static private char Ord(
SweepDirection
d)
1188
if (d ==
SweepDirection
.Clockwise)