52 references to SweepDirection
PresentationCore (31)
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
976SweepDirection.Clockwise,
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (7)
216public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 494SweepDirection sweepDirection; 592private static SweepDirection BoolToSweep(bool value) 595return SweepDirection.Counterclockwise; 597return SweepDirection.Clockwise; 600private static bool SweepToBool(SweepDirection sweep) 602if (sweep == SweepDirection.Counterclockwise)
Core\CSharp\System\Windows\Media\ArcSegment.cs (2)
56SweepDirection sweepDirection, 173SweepDirection == SweepDirection.Clockwise ? "1" : "0",
Core\CSharp\System\Windows\Media\ByteStreamGeometryContext.cs (2)
248public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 271arcToSegment.Sweep = (uint)(sweepDirection == SweepDirection.Clockwise ? 1 : 0);
Core\CSharp\System\Windows\Media\Composition.cs (1)
339SweepDirection fSweepUp, // Sweep the arc increasing the angle if TRUE
Core\CSharp\System\Windows\Media\Generated\ArcSegment.cs (6)
158public SweepDirection SweepDirection 162return (SweepDirection) GetValue(SweepDirectionProperty); 272internal const SweepDirection c_SweepDirection = SweepDirection.Counterclockwise; 335typeof(SweepDirection), 337SweepDirection.Counterclockwise,
Core\CSharp\System\Windows\Media\ParsersCommon.cs (2)
700sweep ? SweepDirection.Clockwise : SweepDirection.Counterclockwise,
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
263(pSegmentArc->Sweep == 0) ? SweepDirection.Counterclockwise : SweepDirection.Clockwise,
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (3)
59s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 249public override void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin) 493private static SweepDirection s_defaultValueForArcSegmentSweepDirection;
Core\CSharp\System\Windows\Media\StreamGeometryContext.cs (1)
139public abstract void ArcTo(Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin);
Shared\MS\Internal\Generated\SweepDirectionValidation.cs (4)
40SweepDirection value = (SweepDirection) valueObject; 42return (value == SweepDirection.Counterclockwise) || 43(value == SweepDirection.Clockwise);
PresentationFramework (5)
src\Framework\System\Windows\Controls\Border.cs (4)
739ctx.ArcTo(rightTop, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 751ctx.ArcTo(bottomRight, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 763ctx.ArcTo(leftBottom, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false); 775ctx.ArcTo(topLeft, new Size(radiusX, radiusY), 0, false, SweepDirection.Clockwise, true, false);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
195public 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)
631borderFigure.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)); 633borderFigure.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)
1087figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1089figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1091figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1093figure.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)
185ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 193arc = 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)
114ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 122arc = new ArcSegment(new Point(0.5, 0.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (2)
45retVal.Add(new ArcSegment(turningPoint2, new Size(RoundRadius, RoundRadius), 0, false, crossProductZ > 0 ? SweepDirection.Clockwise : SweepDirection.Counterclockwise, true));