18 instantiations of ArcSegment
PresentationCore (2)
System\Windows\Media\Generated\ArcSegment.cs (1)
152return new ArcSegment();
System\Windows\Media\PathStreamGeometryContext.cs (1)
246ArcSegment segment = new ArcSegment
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1778DefaultConstructor = delegate () { return new System.Windows.Media.ArcSegment(); }
System\Windows\Markup\KnownTypes.cs (1)
1124case KnownElements.ArcSegment: o = new System.Windows.Media.ArcSegment(); break;
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 (6)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (6)
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
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);
26 references to ArcSegment
PresentationCore (12)
System\Windows\Media\Generated\ArcSegment.cs (5)
31public new ArcSegment Clone() 33return (ArcSegment)base.Clone(); 40public new ArcSegment CloneCurrentValue() 42return (ArcSegment)base.CloneCurrentValue(); 262Type typeofThis = typeof(ArcSegment);
System\Windows\Media\PathStreamGeometryContext.cs (7)
38s_defaultValueForArcSegmentIsLargeArc = (bool)ArcSegment.IsLargeArcProperty.GetDefaultValue(typeof(ArcSegment)); 39s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 40s_defaultValueForArcSegmentRotationAngle = (double)ArcSegment.RotationAngleProperty.GetDefaultValue(typeof(ArcSegment)); 246ArcSegment segment = new ArcSegment
PresentationFramework (5)
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
968if (pathSegment is ArcSegment) 970lastPoint = (pathSegment as ArcSegment).Point;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
107case 13: t = () => typeof(ArcSegment); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1775typeof(System.Windows.Media.ArcSegment),
System\Windows\Markup\KnownTypes.cs (1)
5561case KnownElements.ArcSegment: t = typeof(System.Windows.Media.ArcSegment); break;
PresentationFramework.Luna (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
183ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true);
PresentationFramework.Royale (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
112ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true);
ReachFramework (7)
AlphaFlattener\Utility.cs (1)
954else if (typ == typeof(ArcSegment))
Serialization\VisualSerializer.cs (6)
1076else if (ps is ArcSegment) 1078ArcSegment a = ps as ArcSegment; 1291else if (ps is ArcSegment) 1295ArcSegment a = ps as ArcSegment;