17 instantiations of ArcSegment
PresentationCore (2)
Core\CSharp\System\Windows\Media\Generated\ArcSegment.cs (1)
186return new ArcSegment();
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
266ArcSegment segment = new ArcSegment();
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1757bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.ArcSegment(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1131case KnownElements.ArcSegment: o = new System.Windows.Media.ArcSegment(); break;
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
631borderFigure.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)); 633borderFigure.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)
1087figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1089figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1091figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1093figure.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)
185ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 193arc = 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)
114ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true); 122arc = new ArcSegment(new Point(0.5, 0.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (1)
45retVal.Add(new ArcSegment(turningPoint2, new Size(RoundRadius, RoundRadius), 0, false, crossProductZ > 0 ? SweepDirection.Clockwise : SweepDirection.Counterclockwise, true));
19 references to ArcSegment
PresentationCore (12)
Core\CSharp\System\Windows\Media\Generated\ArcSegment.cs (5)
65public new ArcSegment Clone() 67return (ArcSegment)base.Clone(); 74public new ArcSegment CloneCurrentValue() 76return (ArcSegment)base.CloneCurrentValue(); 296Type typeofThis = typeof(ArcSegment);
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (7)
58s_defaultValueForArcSegmentIsLargeArc = (bool)ArcSegment.IsLargeArcProperty.GetDefaultValue(typeof(ArcSegment)); 59s_defaultValueForArcSegmentSweepDirection = (SweepDirection)ArcSegment.SweepDirectionProperty.GetDefaultValue(typeof(ArcSegment)); 60s_defaultValueForArcSegmentRotationAngle = (double)ArcSegment.RotationAngleProperty.GetDefaultValue(typeof(ArcSegment)); 266ArcSegment segment = new ArcSegment();
PresentationFramework (5)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
980if (pathSegment is ArcSegment) 982lastPoint = (pathSegment as ArcSegment).Point;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
105case 13: t = () => typeof(ArcSegment); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1755typeof(System.Windows.Media.ArcSegment),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5557case KnownElements.ArcSegment: t = typeof(System.Windows.Media.ArcSegment); break;
PresentationFramework.Luna (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
185ArcSegment 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)
114ArcSegment arc = new ArcSegment(new Point(size.Width - 2.5, 2.5), new Size(2.0, 2.0), 90.0, false, SweepDirection.Clockwise, true);