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