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