18 instantiations of ArcSegment
PresentationCore (2)
System\Windows\Media\Generated\ArcSegment.cs (1)
180return new ArcSegment();
System\Windows\Media\PathStreamGeometryContext.cs (1)
263ArcSegment segment = new ArcSegment();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1761bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.ArcSegment(); };
System\Windows\Markup\KnownTypes.cs (1)
1130case 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)
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
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)
59public new ArcSegment Clone() 61return (ArcSegment)base.Clone(); 68public new ArcSegment CloneCurrentValue() 70return (ArcSegment)base.CloneCurrentValue(); 290Type typeofThis = typeof(ArcSegment);
System\Windows\Media\PathStreamGeometryContext.cs (7)
55s_defaultValueForArcSegmentIsLargeArc = (bool)ArcSegment.IsLargeArcProperty.GetDefaultValue(typeof(ArcSegment)); 56s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 57s_defaultValueForArcSegmentRotationAngle = (double)ArcSegment.RotationAngleProperty.GetDefaultValue(typeof(ArcSegment)); 263ArcSegment segment = new ArcSegment();
PresentationFramework (5)
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
971if (pathSegment is ArcSegment) 973lastPoint = (pathSegment as ArcSegment).Point;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
109case 13: t = () => typeof(ArcSegment); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1759typeof(System.Windows.Media.ArcSegment),
System\Windows\Markup\KnownTypes.cs (1)
5567case 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)
965else if (typ == typeof(ArcSegment))
Serialization\VisualSerializer.cs (6)
1083else if (ps is ArcSegment) 1085ArcSegment a = ps as ArcSegment; 1298else if (ps is ArcSegment) 1302ArcSegment a = ps as ArcSegment;