60 references to SweepDirection
PresentationCore (31)
MS\Internal\Ink\StrokeRenderer.cs (1)
960SweepDirection.Clockwise,
MS\Internal\Media\ParserStreamGeometryContext.cs (7)
209public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 486SweepDirection sweepDirection; 584private static SweepDirection BoolToSweep(bool value) 587return SweepDirection.Counterclockwise; 589return SweepDirection.Clockwise; 592private static bool SweepToBool(SweepDirection sweep) 594if (sweep == SweepDirection.Counterclockwise)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\SweepDirectionValidation.cs (4)
35SweepDirection value = (SweepDirection) valueObject; 37return (value == SweepDirection.Counterclockwise) || 38(value == SweepDirection.Clockwise);
System\Windows\Media\ArcSegment.cs (2)
38SweepDirection sweepDirection, 150SweepDirection == SweepDirection.Clockwise ? "1" : "0",
System\Windows\Media\ByteStreamGeometryContext.cs (2)
198public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 223arcToSegment.Sweep = (uint)(sweepDirection == SweepDirection.Clockwise ? 1 : 0);
System\Windows\Media\Composition.cs (1)
281SweepDirection fSweepUp, // Sweep the arc increasing the angle if TRUE
System\Windows\Media\Generated\ArcSegment.cs (6)
124public SweepDirection SweepDirection 128return (SweepDirection) GetValue(SweepDirectionProperty); 238internal const SweepDirection c_SweepDirection = SweepDirection.Counterclockwise; 301typeof(SweepDirection), 303SweepDirection.Counterclockwise,
System\Windows\Media\ParsersCommon.cs (2)
684sweep ? SweepDirection.Clockwise : SweepDirection.Counterclockwise,
System\Windows\Media\PathGeometry.cs (2)
222(pSegmentArc->Sweep == 0) ? SweepDirection.Counterclockwise : SweepDirection.Clockwise,
System\Windows\Media\PathStreamGeometryContext.cs (3)
39s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 229public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 486private static SweepDirection s_defaultValueForArcSegmentSweepDirection;
System\Windows\Media\StreamGeometryContext.cs (1)
125public 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)
734ctx.ArcTo(rightTop, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 746ctx.ArcTo(bottomRight, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 758ctx.ArcTo(leftBottom, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 770ctx.ArcTo(topLeft, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
185public 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)
628borderFigure.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)); 630borderFigure.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)
628borderFigure.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)); 630borderFigure.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)
1085figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1087figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1089figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1091figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner 1119figure.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 1121figure.Segments.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1403sgc.ArcTo(new Point(10, 2), new Size(4, 4), 0, false, SweepDirection.Clockwise, true, false); 1432sgc.ArcTo(new Point(10, 2), new Size(4, 4), 0, false, SweepDirection.Counterclockwise, true, false);
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
183ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 191arc = 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)
112ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 120arc = 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)
2754public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin)
Serialization\DrawingContextFlattener.cs (5)
527SweepDirection eSweepDirection, // Direction n which to sweep the arc. 574if (eSweepDirection == SweepDirection.Clockwise) 710SweepDirection eSweepDirection, // Sweep the arc while increasing the angle if TRUE 789if (fIsLargeArc != (eSweepDirection == SweepDirection.Clockwise)) 829if (eSweepDirection == SweepDirection.Counterclockwise)
Serialization\VisualSerializer.cs (2)
1179static private char Ord(SweepDirection d) 1181if (d == SweepDirection.Clockwise)