18 instantiations of ArcSegment
PresentationCore (2)
System\Windows\Media\Generated\ArcSegment.cs (1)
162return new ArcSegment();
System\Windows\Media\PathStreamGeometryContext.cs (1)
245ArcSegment segment = new ArcSegment
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1777DefaultConstructor = delegate () { return new System.Windows.Media.ArcSegment(); }
System\Windows\Markup\KnownTypes.cs (1)
1123case KnownElements.ArcSegment: o = new System.Windows.Media.ArcSegment(); break;
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
624borderFigure.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)); 626borderFigure.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)
624borderFigure.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)); 626borderFigure.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)
1084figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1086figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1088figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1090figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner 1118figure.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 1120figure.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)
182ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 190arc = 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)
111ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 119arc = 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)
41public new ArcSegment Clone() 43return (ArcSegment)base.Clone(); 50public new ArcSegment CloneCurrentValue() 52return (ArcSegment)base.CloneCurrentValue(); 271Type typeofThis = typeof(ArcSegment);
System\Windows\Media\PathStreamGeometryContext.cs (7)
37s_defaultValueForArcSegmentIsLargeArc = (bool)ArcSegment.IsLargeArcProperty.GetDefaultValue(typeof(ArcSegment)); 38s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 39s_defaultValueForArcSegmentRotationAngle = (double)ArcSegment.RotationAngleProperty.GetDefaultValue(typeof(ArcSegment)); 245ArcSegment segment = new ArcSegment
PresentationFramework (5)
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
967if (pathSegment is ArcSegment) 969lastPoint = (pathSegment as ArcSegment).Point;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
106case 13: t = () => typeof(ArcSegment); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1774typeof(System.Windows.Media.ArcSegment),
System\Windows\Markup\KnownTypes.cs (1)
5560case KnownElements.ArcSegment: t = typeof(System.Windows.Media.ArcSegment); break;
PresentationFramework.Luna (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
182ArcSegment 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)
111ArcSegment 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)
953else if (typ == typeof(ArcSegment))
Serialization\VisualSerializer.cs (6)
1075else if (ps is ArcSegment) 1077ArcSegment a = ps as ArcSegment; 1290else if (ps is ArcSegment) 1294ArcSegment a = ps as ArcSegment;