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