14 types derived from Geometry
PresentationCore (14)
System\Windows\Media\CombinedGeometry.cs (1)
18public sealed partial class CombinedGeometry : Geometry
System\Windows\Media\EllipseGeometry.cs (1)
13public sealed partial class EllipseGeometry : Geometry
System\Windows\Media\Generated\CombinedGeometry.cs (1)
17sealed partial class CombinedGeometry : Geometry
System\Windows\Media\Generated\EllipseGeometry.cs (1)
17sealed partial class EllipseGeometry : Geometry
System\Windows\Media\Generated\GeometryGroup.cs (1)
19sealed partial class GeometryGroup : Geometry
System\Windows\Media\Generated\LineGeometry.cs (1)
17sealed partial class LineGeometry : Geometry
System\Windows\Media\Generated\PathGeometry.cs (1)
19sealed partial class PathGeometry : Geometry
System\Windows\Media\Generated\RectangleGeometry.cs (1)
17sealed partial class RectangleGeometry : Geometry
System\Windows\Media\Generated\StreamGeometry.cs (1)
17sealed partial class StreamGeometry : Geometry
System\Windows\Media\GeometryGroup.cs (1)
19public sealed partial class GeometryGroup : Geometry
System\Windows\Media\LineGeometry.cs (1)
14public sealed partial class LineGeometry : Geometry
System\Windows\Media\PathGeometry.cs (1)
29public sealed partial class PathGeometry : Geometry
System\Windows\Media\RectangleGeometry.cs (1)
15public sealed partial class RectangleGeometry : Geometry
System\Windows\Media\StreamGeometry.cs (1)
21public sealed partial class StreamGeometry : Geometry
672 references to Geometry
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
Adornments\GraphicsTag.cs (1)
21public abstract GraphicsResult GetGraphics(IWpfTextView view, Geometry bounds, TextFormattingRunProperties format);
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
56public override GraphicsResult GetGraphics(IWpfTextView view, Geometry unused, TextFormattingRunProperties format)
LineSeparators\LineSeparatorAdornmentManager.cs (1)
56var geometry = viewLines.GetMarkerGeometry(span);
LineSeparators\LineSeparatorTag.cs (1)
36public override GraphicsResult GetGraphics(IWpfTextView view, Geometry bounds, TextFormattingRunProperties? format)
PresentationCore (260)
MS\Internal\Ink\StrokeRenderer.cs (2)
34out Geometry geometry, 208out Geometry geometry,
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
275Geometry clipGeometry = VisualTreeHelper.GetClip(visualParent);
System\Windows\Ink\Stroke2.cs (5)
442public Geometry GetGeometry() 452public Geometry GetGeometry(DrawingAttributes drawingAttributes) 464Geometry geometry; 549internal void SetGeometry(Geometry geometry) 701private Geometry _cachedGeometry = null;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
732Geometry geometry, 770Geometry strokeGeometry; 1190private Geometry _zeroSizedFrozenRect;
System\Windows\Media\BoundsDrawingContextWalker.cs (6)
81Geometry.StandardFlatteningTolerance, 119Geometry.StandardFlatteningTolerance, 167Geometry.StandardFlatteningTolerance, 217Geometry.StandardFlatteningTolerance, 242Geometry geometry) 336Geometry clipGeometry)
System\Windows\Media\CombinedGeometry.cs (16)
39Geometry geometry1, 40Geometry geometry2 61Geometry geometry1, 62Geometry geometry2 87Geometry geometry1, 88Geometry geometry2, 161Geometry geometry1 = Geometry1; 162Geometry geometry2 = Geometry2; 233return Geometry.GetEmptyPathGeometryData(); 244Geometry g1 = Geometry1; 245Geometry g2 = Geometry2; 250Geometry geometry2 = (g2 == null) ? 273Geometry geometry1 = Geometry1; 274Geometry geometry2 = Geometry2; 302Geometry geometry1 = Geometry1; 303Geometry geometry2 = Geometry2;
System\Windows\Media\ContainerVisual.cs (1)
55public Geometry Clip
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (5)
36if (!(value is Geometry)) 41Geometry instance = (Geometry) value; 53return Geometry.Parse(value ); 66if (value is Geometry instance)
System\Windows\Media\DrawingDrawingContext.cs (3)
504Geometry geometry) 734Geometry clipGeometry) 1287private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\EllipseGeometry.cs (2)
170rect = Geometry.GetBoundsHelper( 300return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\FormattedText.cs (7)
1550public Geometry BuildHighlightGeometry(Point origin) 1562public Geometry BuildGeometry(Point origin) 1592return Geometry.Empty; 1603public Geometry BuildHighlightGeometry(Point origin, int startIndex, int count) 1653accumulatedBounds = Geometry.Combine(accumulatedBounds, rectangleGeometry, GeometryCombineMode.Union, null); 1921Geometry glyphRunGeometry = glyphRun.BuildGeometry(); 1942Geometry geometry = geometryDrawing.Geometry;
System\Windows\Media\Generated\CombinedGeometry.cs (26)
83Geometry oldV = (Geometry) e.OldValue; 84Geometry newV = (Geometry) e.NewValue; 127Geometry oldV = (Geometry) e.OldValue; 128Geometry newV = (Geometry) e.NewValue; 173public Geometry Geometry1 177return (Geometry) GetValue(Geometry1Property); 188public Geometry Geometry2 192return (Geometry) GetValue(Geometry2Property); 242Geometry vGeometry1 = Geometry1; 243Geometry vGeometry2 = Geometry2; 284Geometry vGeometry1 = Geometry1; 286Geometry vGeometry2 = Geometry2; 305Geometry vGeometry1 = Geometry1; 307Geometry vGeometry2 = Geometry2; 397internal static Geometry s_Geometry1 = Geometry.Empty; 398internal static Geometry s_Geometry2 = Geometry.Empty; 440typeof(Geometry), 442Geometry.Empty, 449typeof(Geometry), 451Geometry.Empty,
System\Windows\Media\Generated\DrawingContext.cs (2)
242Geometry geometry); 331Geometry clipGeometry);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
311Geometry geometry) 442Geometry clipGeometry)
System\Windows\Media\Generated\DrawingContextWalker.cs (2)
266Geometry geometry) 379Geometry clipGeometry)
System\Windows\Media\Generated\DrawingGroup.cs (10)
165Geometry oldV = (Geometry) e.OldValue; 166Geometry newV = (Geometry) e.NewValue; 385public Geometry ClipGeometry 389return (Geometry) GetValue(ClipGeometryProperty); 529Geometry vClipGeometry = ClipGeometry; 601Geometry vClipGeometry = ClipGeometry; 634Geometry vClipGeometry = ClipGeometry; 856typeof(Geometry),
System\Windows\Media\Generated\Geometry.cs (8)
37public new Geometry Clone() 39return (Geometry)base.Clone(); 46public new Geometry CloneCurrentValue() 48return (Geometry)base.CloneCurrentValue(); 64Geometry target = ((Geometry) d); 291public static Geometry Parse(string source) 353Type typeofThis = typeof(Geometry);
System\Windows\Media\Generated\GeometryCollection.cs (55)
20public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry> 65public void Add(Geometry value) 85FrugalStructList<Geometry> oldCollection = _collection; 86_collection = new FrugalStructList<Geometry>(_collection.Capacity); 105public bool Contains(Geometry value) 115public int IndexOf(Geometry value) 125public void Insert(int index, Geometry value) 147public bool Remove(Geometry value) 163Geometry oldValue = _collection[index]; 207Geometry oldValue = _collection[ index ]; 225public Geometry this[int index] 244Geometry oldValue = _collection[ index ]; 278public void CopyTo(Geometry[] array, int index) 293bool ICollection<Geometry>.IsReadOnly 317IEnumerator<Geometry> IEnumerable<Geometry>.GetEnumerator() 330return ((ICollection<Geometry>)this).IsReadOnly; 365return Contains(value as Geometry); 370return IndexOf(value as Geometry); 381Remove(value as Geometry); 473internal Geometry Internal_GetItem(int i) 500private Geometry Cast(object value) 504if (!(value is Geometry)) 509return (Geometry) value; 515private int AddHelper(Geometry value) 526internal int AddWithoutFiringPublicEvents(Geometry value) 535Geometry newValue = value; 611_collection = new FrugalStructList<Geometry>(count); 615Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].Clone(); 632_collection = new FrugalStructList<Geometry>(count); 636Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].CloneCurrentValue(); 653_collection = new FrugalStructList<Geometry>(count); 657Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].GetAsFrozen(); 674_collection = new FrugalStructList<Geometry>(count); 678Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].GetCurrentValueAsFrozen(); 757internal FrugalStructList<Geometry> _collection; 767public struct Enumerator : IEnumerator, IEnumerator<Geometry> 778_current = default(Geometry); 857public Geometry Current 880private Geometry _current; 902_collection = new FrugalStructList<Geometry>(); 911_collection = new FrugalStructList<Geometry>(capacity); 917public GeometryCollection(IEnumerable<Geometry> collection) 928ICollection<Geometry> icollectionOfT = collection as ICollection<Geometry>; 932_collection = new FrugalStructList<Geometry>(icollectionOfT); 940_collection = new FrugalStructList<Geometry>(icollection); 944_collection = new FrugalStructList<Geometry>(); 946foreach (Geometry item in collection) 952Geometry newValue = item; 964foreach (Geometry item in collection)
System\Windows\Media\Generated\GeometryConverter.cs (7)
51if (!(context.Instance is Geometry)) 56Geometry value = (Geometry)context.Instance; 91return Geometry.Parse(source); 113if (destinationType != null && value is Geometry) 115Geometry instance = (Geometry)value;
System\Windows\Media\Generated\GeometryDrawing.cs (10)
164Geometry oldV = (Geometry) e.OldValue; 165Geometry newV = (Geometry) e.NewValue; 225public Geometry Geometry 229return (Geometry) GetValue(GeometryProperty); 280Geometry vGeometry = Geometry; 312Geometry vGeometry = Geometry; 333Geometry vGeometry = Geometry; 452typeof(Geometry),
System\Windows\Media\Generated\RenderData.cs (4)
1248(Geometry)DependentLookup(data->hGeometry) 1323(Geometry)DependentLookup(data->hClipGeometry) 1597(Geometry)DependentLookup(data->hGeometry) 1674(Geometry)DependentLookup(data->hClipGeometry)
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
546Geometry geometry) 872Geometry clipGeometry)
System\Windows\Media\Generated\TextEffect.cs (3)
98public Geometry Clip 102return (Geometry) GetValue(ClipProperty); 293typeof(Geometry),
System\Windows\Media\Geometry.cs (18)
40public static Geometry Empty 115internal virtual bool AreClose(Geometry geometry) 224internal Geometry GetTransformedCopy(Transform transform) 226Geometry copy = Clone(); 505public bool FillContains(Geometry geometry, double tolerance, ToleranceType type) 516public bool FillContains(Geometry geometry) 527public virtual IntersectionDetail FillContainsWithDetail(Geometry geometry, double tolerance, ToleranceType type) 544public IntersectionDetail FillContainsWithDetail(Geometry geometry) 556public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry, double tolerance, ToleranceType type) 573public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry) 775Geometry geometry1, 776Geometry geometry2, 793Geometry geometry1, 794Geometry geometry2, 803Geometry.StandardFlatteningTolerance, 1022private static Geometry MakeEmptyGeometry() 1024Geometry empty = new StreamGeometry(); 1031private static Geometry s_empty = MakeEmptyGeometry();
System\Windows\Media\GeometryCollection.cs (1)
18public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry>
System\Windows\Media\GeometryDrawing.cs (1)
36public GeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\GeometryGroup.cs (2)
100if (!((Geometry)children[i]).IsEmpty()) 130if (((Geometry)children[i]).MayHaveCurves())
System\Windows\Media\GeometryHitTestParameters.cs (4)
17private Geometry _hitGeometryCache = null; // Cached frozen copy we hand out from HitGeometry property. 25public GeometryHitTestParameters(Geometry geometry) : base() 82public Geometry HitGeometry 88_hitGeometryCache = (Geometry) _hitGeometryInternal.GetAsFrozen();
System\Windows\Media\GlyphRun.cs (3)
1547public Geometry BuildGeometry() 1578Geometry glyphGeometry = _glyphTypeface.ComputeGlyphOutline(glyphIndex, IsSideways, _renderingEmSize); 1597return Geometry.Empty;
System\Windows\Media\GlyphTypeface.cs (4)
205public Geometry GetGlyphOutline(ushort glyphIndex, double renderingEmSize, double hintingEmSize) 1249internal Geometry ComputeGlyphOutline(ushort glyphIndex, 1279Geometry.PathGeometryData pathGeoData = new Geometry.PathGeometryData();
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (8)
80public ClipModifierNode(Geometry clip) {_clip = clip;} 81public Geometry _clip; 105Geometry geometry) 112Geometry testedGeometry; 127testedGeometry = Geometry.Combine( 183Geometry clipGeometry) 206clipGeometry = Geometry.Combine( 466private Geometry _currentClip;
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (2)
69Geometry geometry) 131Geometry clipGeometry)
System\Windows\Media\LineGeometry.cs (2)
106return Geometry.GetBoundsHelper( 236return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\ParsersCommon.cs (1)
74internal static Geometry ParseGeometry(
System\Windows\Media\PathFigure.cs (1)
86return GetFlattenedPathFigure(Geometry.StandardFlatteningTolerance, ToleranceType.Absolute);
System\Windows\Media\PathGeometry.cs (7)
86public static PathGeometry CreateFromGeometry(Geometry geometry) 353public void AddGeometry(Geometry geometry) 596Geometry geometry1, 597Geometry geometry2, 815Geometry geometry1, 816Geometry geometry2, 961return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\RectangleGeometry.cs (3)
126internal override bool AreClose(Geometry geometry) 213boundingRect = Geometry.GetBoundsHelper( 397return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\StreamGeometry.cs (1)
343return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\TextEffect.cs (1)
39Geometry clip,
System\Windows\Media\Visual.cs (11)
568Geometry clip = ClipField.GetValue(this); 759Geometry clip = ClipField.GetValue(this); 1101Geometry clip = ClipField.GetValue(this); 1512Geometry clip = ClipField.GetValue(this); 2000Geometry clip = VisualClip; 2235Geometry clip = VisualClip; 3418protected internal Geometry VisualClip 3437internal void ChangeVisualClip(Geometry newClip, bool dontSetWhenClose) 3441Geometry oldClip = ClipField.GetValue(this); 5343private static readonly UncommonField<Geometry> ClipField = new UncommonField<Geometry>();
System\Windows\Media\VisualTreeHelper.cs (1)
271public static Geometry GetClip(Visual reference)
System\Windows\Media3D\Viewport3DVisual.cs (1)
63public Geometry Clip
System\Windows\UIElement.cs (6)
3059Geometry clipGeometry = GetLayoutClip(layoutSlotSize); 3329protected virtual Geometry GetLayoutClip(Size layoutSlotSize) 3389typeof(Geometry), 3392(Geometry) null, 3409public Geometry Clip 3411get { return (Geometry) GetValue(ClipProperty); }
PresentationFramework (165)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
926Geometry viewGeometry = GetPageGeometry(segment, view, parentView); 939private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 951Geometry pageGeometry = null; 1094protected override Geometry DefiningGeometry 1100return Geometry.Empty;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
365Debug.Assert(marker.Data != null || marker.Data == Geometry.Empty, "undefined geometry"); 574private Path CreateMarker(Geometry geometry) 681private Geometry GetMarkerGeometry()
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
218protected override Geometry GetLayoutClip(Size layoutSlotSize)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
239Geometry rectGeometry = null; 295hatchGeometry = Geometry.Combine(hatchGeometry, rectGeometry, GeometryCombineMode.Union, null); 310Geometry outlineGeometry = null;
MS\Internal\Documents\DocumentPageTextView.cs (2)
143internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 151Geometry geometry = null;
MS\Internal\Documents\MultiPageTextView.cs (3)
143internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 151Geometry geometry = null; 169Geometry pageGeometry = _pageTextViews[i].GetTightBoundingGeometryFromTextPositions(startPositionInTextSegment, endPositionInTextSegment);
MS\Internal\Documents\ParagraphResult.cs (6)
239internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 361internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, double paragraphTopSpace, Rect visibleRect) 640internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 1080internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success) 1252internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success) 1336internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
MS\Internal\Documents\TextBoxLine.cs (1)
196internal TextBoxLineDrawingVisual CreateVisual(Geometry selectionGeometry)
MS\Internal\Documents\TextBoxView.cs (5)
687Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 691Geometry geometry = null; 1899Geometry selectionGeometry = null; 2045private void GetTightBoundingGeometryFromLineIndex(int lineIndex, int unclippedStartOffset, int unclippedEndOffset, TextAlignment alignment, double endOfParaGlyphWidth, ref Geometry geometry) 2131private void GetTightBoundingGeometryFromLineIndexForSelection(TextBoxLine line, int lineIndex, int unclippedStartOffset, int unclippedEndOffset, TextAlignment alignment, double endOfParaGlyphWidth, ref Geometry geometry)
MS\Internal\Documents\TextDocumentView.cs (14)
108internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 110Geometry geometry = null; 130Geometry floatingElementGeometry = GetTightBoundingGeometryFromTextPositionsInFloatingElements(FloatingElements, startPosition, endPosition, 0.0, visibleRect, out success); 180Geometry columnGeometry = GetTightBoundingGeometryFromTextPositionsHelper(columns[columnIndex].Paragraphs, startPositionInThisSegment, endPositionInThisSegment, 0.0, visibleRect); 1256internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1263Geometry geometry = null; 1296Geometry paragraphGeometry = null; 1323internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1331Geometry geometry = null; 1350private static Geometry GetTightBoundingGeometryFromTextPositionsInFloatingElements( 1358Geometry geometry = null; 1387Geometry paragraphGeometry = null; 3363private void TransformFromContent(Geometry geometry) 3419private static void TransformFromSubpage(Geometry geometry, Vector subpageOffset)
MS\Internal\Documents\TextParagraphView.cs (2)
99internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 115Geometry geometry = _owner.GetTightBoundingGeometryFromTextPositions(startPosition, endPosition);
MS\Internal\Documents\TextViewBase.cs (2)
65internal abstract Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition); 489Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
MS\Internal\LayoutDump.cs (2)
217Geometry clip = VisualTreeHelper.GetClip(visual); 249Geometry clip = VisualTreeHelper.GetClip(element);
MS\Internal\PtsHost\CellParaClient.cs (2)
309internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 311Geometry geometry = null;
MS\Internal\PtsHost\ContainerParaClient.cs (1)
396internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect)
MS\Internal\PtsHost\FigureParaClient.cs (2)
735internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 737Geometry geometry = null;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
744internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 746Geometry geometry = null;
MS\Internal\PtsHost\TableParaClient.cs (4)
818internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 823Geometry geometry = null; 867Geometry cellGeometry = cpc.GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect); 877geometry = Geometry.Combine(geometry, Visual.Clip, GeometryCombineMode.Intersect, null);
MS\Internal\PtsHost\TextParaClient.cs (9)
732internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, double paragraphTopSpace, Rect visibleRect) 734Geometry geometry = null; 735Geometry floatAndFigGeometry = null; 1811private Geometry PathGeometryFromDcpRangeSimpleLines( 1824Geometry geometry = null; 1918private Geometry PathGeometryFromDcpRangeCompositeLines( 1931Geometry geometry = null; 2321private Geometry PathGeometryFromDcpRangeFloatersAndFigures( 2326Geometry geometry = null;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
140internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (2)
56Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(textElement.ContentStart, textElement.ContentEnd); 171Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(startPointer, endPointer);
System\Windows\Controls\Canvas.cs (1)
335protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\DataGridCell.cs (3)
1058Geometry geometry = baseValue as Geometry; 1059Geometry frozenGeometry = DataGridHelper.GetFrozenClipForCell(cell);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2369internal Geometry GetFrozenClipForChild(UIElement child)
System\Windows\Controls\DataGridHelper.cs (1)
283public static Geometry GetFrozenClipForCell(IProvideDataGridColumn cell)
System\Windows\Controls\InkPresenter.cs (1)
223protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (3)
906Geometry geometry = baseValue as Geometry; 907Geometry frozenGeometry = DataGridHelper.GetFrozenClipForCell(header);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
176protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\LayoutInformation.cs (1)
41public static Geometry GetLayoutClip(FrameworkElement element)
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
505protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\TabPanel.cs (1)
185protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\TextAdaptor.cs (1)
141Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(first, last);
System\Windows\Controls\TextBlock.cs (2)
2262internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 2272Geometry geometry = null;
System\Windows\Documents\Adorner.cs (2)
95protected override Geometry GetLayoutClip(Size layoutSlotSize) 142internal Geometry AdornerClip
System\Windows\Documents\AdornerLayer.cs (4)
98internal Geometry Clip 114private Geometry _clip; 728Geometry clip = null; 843Geometry geometry = VisualTreeHelper.GetClip(element);
System\windows\Documents\CaretElement.cs (11)
452Geometry previousSelectionGeometry = _selectionGeometry; 465Geometry geometry = _textEditor.Selection.TextView.GetTightBoundingGeometryFromTextPositions(segment.Start, segment.End); 477internal static void AddGeometry(ref Geometry geometry, Geometry addedGeometry) 487geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 492internal static void ClipGeometryByViewport(ref Geometry geometry, Rect viewport) 496Geometry viewportGeometry = new RectangleGeometry(viewport); 497geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 501internal static void AddTransformToGeometry(Geometry targetGeometry, Transform transformToAdd) 796internal Geometry SelectionGeometry 1285private Geometry _selectionGeometry;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
146internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
System\Windows\Documents\FixedPage.cs (2)
1257Geometry renderGeom = path.RenderedGeometry; 1276Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedPageStructure.cs (1)
661Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
281Geometry geom = path.Data;
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
78Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedTextBuilder.cs (10)
1183public LogicalHyperlink(Uri uri, Geometry geom, UIElement uiElement) 1200public Geometry Geometry 1239private Geometry _geometry; 1261public void AddLogicalHyperlink(Uri uri, Geometry geometry, UIElement uiElement) 1284Geometry g; 1333private LogicalHyperlink _GetHyperlinkFromGeometry(Geometry geom, Transform t) 1335Geometry g = geom; 1351Geometry combined = Geometry.Combine(g, _hyperlinks[i].Geometry, GeometryCombineMode.Intersect, Transform.Identity); 1419Geometry geom = ((Path)child).Data;
System\Windows\Documents\FixedTextView.cs (2)
232internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 279Geometry thisGeometry = new RectangleGeometry(backgroundRect)
System\Windows\Documents\HighlightVisual.cs (1)
226Geometry thisGeometry = new RectangleGeometry(backgroundRect)
System\Windows\Documents\ITextView.cs (1)
141Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition);
System\windows\Documents\TextEditorContextMenu.cs (1)
339Geometry clip = VisualTreeHelper.GetClip(element);
System\Windows\FrameworkElement.cs (3)
4872protected override Geometry GetLayoutClip(Size layoutSlotSize) 4985PathGeometry combinedClip = Geometry.Combine(localClip, slotClip, GeometryCombineMode.Intersect, null); 5037internal Geometry GetLayoutClipInternal()
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
331case 237: t = () => typeof(Geometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5076typeof(System.Windows.Media.Geometry),
System\Windows\Markup\KnownTypes.cs (1)
5785case KnownElements.Geometry: t = typeof(System.Windows.Media.Geometry); break;
System\Windows\Shapes\Ellipse.cs (3)
47public override Geometry RenderedGeometry 165protected override Geometry DefiningGeometry 171return Geometry.Empty;
System\Windows\Shapes\Line.cs (1)
140protected override Geometry DefiningGeometry
System\Windows\Shapes\Path.cs (6)
42typeof(Geometry), 52public Geometry Data 56return (Geometry)GetValue(DataProperty); 70protected override Geometry DefiningGeometry 74Geometry data = Data; 78data = Geometry.Empty;
System\Windows\Shapes\Polygon.cs (3)
93protected override Geometry DefiningGeometry 114_polygonGeometry = Geometry.Empty; 154private Geometry _polygonGeometry;
System\Windows\Shapes\Polyline.cs (4)
93protected override Geometry DefiningGeometry 114_polylineGeometry = Geometry.Empty; 147_polylineGeometry = Geometry.Empty; 159private Geometry _polylineGeometry;
System\Windows\Shapes\Rectangle.cs (2)
100public override Geometry RenderedGeometry 220protected override Geometry DefiningGeometry
System\Windows\Shapes\Shape.cs (13)
61public virtual Geometry RenderedGeometry 67Geometry geometry = _renderedGeometry.CloneCurrentValue(); 68if (geometry == null || geometry == Geometry.Empty) 70return Geometry.Empty; 373_renderedGeometry = Geometry.Empty; 406_renderedGeometry = Geometry.Empty; 419if (_renderedGeometry != Geometry.Empty) 432protected abstract Geometry DefiningGeometry 681Geometry geometry = DefiningGeometry; 721Geometry geometry = DefiningGeometry; 738Geometry currentValue = _renderedGeometry.CloneCurrentValue(); 770private Geometry _renderedGeometry = Geometry.Empty;
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
874private static Geometry CheckMarkGeometry 2447private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
378Geometry geometry = GetBorderGeometry(border, bounds); 474private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
589private static Geometry _leftArrowGeometry; 590private static Geometry _rightArrowGeometry; 591private static Geometry _upArrowGeometry; 592private static Geometry _downArrowGeometry; 594private static Geometry LeftArrowGeometry 626private static Geometry RightArrowGeometry 658private static Geometry UpArrowGeometry 690private static Geometry DownArrowGeometry
PresentationFramework.Aero2 (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
874private static Geometry CheckMarkGeometry 2447private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
378Geometry geometry = GetBorderGeometry(border, bounds); 474private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
589private static Geometry _leftArrowGeometry; 590private static Geometry _rightArrowGeometry; 591private static Geometry _upArrowGeometry; 592private static Geometry _downArrowGeometry; 594private static Geometry LeftArrowGeometry 626private static Geometry RightArrowGeometry 658private static Geometry UpArrowGeometry 690private static Geometry DownArrowGeometry
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
888private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 903private Geometry GetBorder(Rect bounds, Thickness borderThickness) 1071private Geometry GenerateTabTopHighlightGeometry(Rect bounds, bool outerBorder) 1105private Geometry GenerateTabTopShadowGeometry(Rect bounds, bool outerBorder) 1134private Geometry GetHighlight1(Rect bounds) 1152private Geometry GetShadow1(Rect bounds) 1165private Geometry GetHighlight2(Rect bounds) 1178private Geometry GetShadow2(Rect bounds) 1389private static Geometry TopLeftArcGeometry 1418private static Geometry BottomRightArcGeometry 1461public Geometry BorderGeometry; 1468public Geometry Highlight1; 1469public Geometry Shadow1; 1470public Geometry Highlight2; 1471public Geometry Shadow2; 1482private static Geometry _topLeftArcGeometry; 1483private static Geometry _bottomRightArcGeometry;
PresentationFramework.Luna (11)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
422private static Geometry _leftArrowGeometry; 423private static Geometry _rightArrowGeometry; 424private static Geometry _upArrowGeometry; 425private static Geometry _downArrowGeometry; 427private static Geometry LeftArrowGeometry 462private static Geometry RightArrowGeometry 497private static Geometry UpArrowGeometry 532private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
476private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 491private static Geometry CheckMarkGeometry 988private static Geometry _checkMarkGeometry;
PresentationFramework.Royale (11)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
382private static Geometry _leftArrowGeometry; 383private static Geometry _rightArrowGeometry; 384private static Geometry _upArrowGeometry; 385private static Geometry _downArrowGeometry; 387private static Geometry LeftArrowGeometry 422private static Geometry RightArrowGeometry 457private static Geometry UpArrowGeometry 492private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
476private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 491private static Geometry CheckMarkGeometry 988private static Geometry _checkMarkGeometry;
ReachFramework (176)
AlphaFlattener\BrushProxy.cs (19)
743Geometry viewboxGeometry = new RectangleGeometry(vb, 0, 0, new MatrixTransform(viewboxToViewportTransformHint)); 1271public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1473Geometry geometry; 1560Geometry childGeometry; 1603private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1636Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), transform); 1668private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1705Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), drawingToWorldTransformHint); 3032Geometry visualClip = VisualTreeHelper.GetClip(visual); 3129Geometry visualClip = VisualTreeHelper.GetClip(vb.Visual); 3991public LinearGradientFlattener(LinearGradientBrush brush, Geometry geometry, double opacity) 4028Geometry xgeometry = Utility.TransformGeometry(geometry, worldToXTransform); 4063public Geometry GetSlice(int i, out Color color) 4106static private Geometry CreateRotatedRectangle(double x, double y, double w, double h, Matrix mat) 4159private Geometry _shape; 4181public RadialGradientFlattener(RadialGradientBrush b, Geometry shape, double opacity) 4290public Geometry GetSlice(int i, out Color color) 4306Geometry geometry; 4530private Geometry _shape; // fill region
AlphaFlattener\DrawingContext.cs (19)
26private Geometry _clip; 40Geometry clip) 72void IProxyDrawingContext.DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags) 142void IProxyDrawingContext.DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans) 167bool IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground) 230private bool LinearFillGeometry(BrushProxy linear, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 280Geometry slice = rf.GetSlice(i, out color); 354private bool RadialFillGeometry(BrushProxy radial, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 405Geometry slice = rf.GetSlice(i, out color); 475private bool FillGeometry(BrushProxy one, ArrayList brushes, int from, Geometry geometry) 562private bool BetterRasterize(BrushProxy brush, Geometry shape) 596private void RasterizeGeometry(BrushProxy brush, Geometry shape) 630private static double DrawGeometryCost(Brush b, Pen p, Geometry g) 691void IProxyDrawingContext.DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags) 829void IProxyDrawingContext.DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans) 857Geometry imageClip = Utility.TransformGeometry(clip, imageTransform); 928bool IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground)
AlphaFlattener\Flattener.cs (7)
79public void TreeFlatten(Primitive tree, Geometry clip, Matrix transform, double opacity, BrushProxy opacityMask) 125Geometry transclip = Utility.TransformGeometry(tree.Clip, transform); 234Geometry transclip = Utility.TransformGeometry(tree.Clip, transform); 1133Geometry g = p.Geometry; 1254Geometry clip = null; 1328void ILegacyDevice.PushClip(Geometry clipGeometry) 1385void ILegacyDevice.DrawGeometry(Brush brush, Pen pen, Brush strokeBrush, Geometry geometry)
AlphaFlattener\Interfaces.cs (6)
21void DrawGeometry(Brush brush, Pen pen, Geometry geometry); 52Geometry clip, 108void DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags); 110void DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans); 112bool DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground);
AlphaFlattener\MetroDevice.cs (6)
45private Geometry _clip; // Current layer Clip 143public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 296public void Push(Matrix transform, Geometry clip, double opacity, Brush opacityMask, Rect maskBounds, bool onePrimitive) 387_clip = _stack.Pop() as Geometry; 689void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 706Geometry clip,
AlphaFlattener\Optimizer.cs (3)
59Geometry clip = null; 76Geometry geometry = Utility.Intersect(primitive.GetShapeGeometry(), primitive.Clip, Matrix.Identity, out empty); 326Geometry geo = gp.Geometry;
AlphaFlattener\Primitive.cs (31)
25private Geometry _clip; // changes coordinate spaces throughout printing 69public abstract Geometry GetShapeGeometry(); 75public abstract void Exclude(Geometry g); 161public Geometry GetClippedShapeGeometry() 163Geometry shape = GetShapeGeometry(); 239public Geometry Clip 656private Geometry _geometry; 657private Geometry _widenGeometry; 831Geometry worldGeometry = GetClippedShapeGeometry(); 832Geometry brushGeometry; 1034public Geometry Geometry 1046public virtual Geometry WidenGeometry 1073protected Geometry WidenGeometryCore 1128Geometry saveGeometry = Geometry; 1129Geometry saveClip = Clip; 1167public override Geometry GetShapeGeometry() 1169Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1174public override void Exclude(Geometry g) 1484Geometry geometryClip = Clip; 1602Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1645private Geometry _bounds; // glyph bounds in world space (transformation has been applied) 1667public override Geometry WidenGeometry 1698public override Geometry GetShapeGeometry() 1700Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1705public override void Exclude(Geometry g) 1838public override Geometry GetShapeGeometry() 1843public override void Exclude(Geometry g) 1938Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 2032public override Geometry GetShapeGeometry() 2038public override void Exclude(Geometry g) 2209Geometry pshape = p.primitive.GetShapeGeometry();
AlphaFlattener\PrimitiveList.cs (1)
142Geometry clip = p.Clip;
AlphaFlattener\PrimitiveRenderer.cs (30)
20public void RenderImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans, string desp) 27Geometry bounds; 47public void DrawGeometry(Geometry cur, string desp, GeometryPrimitive gp) 57Geometry topBounds; 58Geometry inter; 110Geometry topBounds; 111Geometry inter; 119Geometry cur = glyphrun.BuildGeometry(); 146public Geometry Clip 246Geometry bounds, 254Geometry topBounds; 255Geometry inter; 260Geometry diff = Utility.Exclude(bounds, topBounds, trans); 295Geometry clip = _clip; 314private bool FindIntersection(Geometry cur, ref int start, out PrimitiveInfo topPI, out Geometry topBounds, out Geometry inter) 378private void FillGeometry(Geometry cur, string desp, Geometry curAlt, string despAlt, int start) 381Geometry top; 382Geometry inter; 407Geometry cur, 409Geometry curAlt, 412Geometry inter, 413Geometry topBounds 417Geometry diff = Utility.Exclude(cur, topBounds, Matrix.Identity); 470Geometry clip = Utility.Intersect(inter, Utility.TransformGeometry(new RectangleGeometry(ip.DstRect), ip.Transform), ip.Transform, out empty); 475Geometry clipImageSpace = Utility.TransformGeometry(clip, ReverseMap(ip.Transform, ip.DstRect, imageWidth, imageHeight)); 529Geometry geo = Utility.Intersect(cur, _clip, Matrix.Identity, out empty); 547private Geometry _clip;
AlphaFlattener\Utility.cs (36)
356static public Geometry TransformGeometry(Geometry g, Matrix t) 368Geometry newg = g.CloneCurrentValue(); 378static public Geometry TransformGeometry(Geometry g, Transform t) 390Geometry newg = g.CloneCurrentValue(); 397static public Geometry InverseTransformGeometry(Geometry g, Matrix mat) 418static public bool IsEmpty(Geometry shape, Matrix mat) 447static public PathGeometry GetAsPathGeometry(Geometry geo) 459static public bool IsRectangle(Geometry geometry) 588public static bool IsLineSegment(Geometry geometry) 629static public double GetGeometryCost(Geometry g) 665foreach (Geometry c in gg.Children) 690static public bool FullyCovers(Geometry one, Geometry two) 724static public bool Covers(Geometry one, Geometry two) 755static public Geometry Intersect(Geometry one, Geometry two, Matrix mat, out bool empty) 805static public Geometry Exclude(Geometry one, Geometry two, Matrix mat) 821static public bool Disjoint(Geometry clip, Rect rect) 842public static int GetGeometryPointCount(Geometry geometry) 868Geometry.PathGeometryData data = geometry.GetPathGeometryData(); 876public static int GetGeometryDataPointCount(Geometry.PathGeometryData geometryData) 970static private Geometry Combine(Geometry one, Geometry two, GeometryCombineMode mode, Matrix mat) 976Geometry rslt = System.Windows.Media.Geometry.Combine(one, two, mode, 1587Geometry clip = VisualTreeHelper.GetClip(visualBrush.Visual); 2383public static void Analyze(Geometry.PathGeometryData geometryData, out int estimatedPointCount) 2408Geometry.PathGeometryData geometryData,
Serialization\DrawingContextFlattener.cs (9)
47private List<Geometry> _fullClip = new List<Geometry>(); 71Geometry clip, 124clip = Geometry.Empty; 167public Geometry Clip 242public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 356Geometry clip, 895public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 912Geometry clip,
Serialization\VisualSerializer.cs (6)
581_clip = _tcoStack.Pop() as Geometry; 861protected Geometry _clip; // = null; 1433internal bool WriteGeometry(string element, string attribute, Geometry geo, Matrix map, bool asElement, bool forFill, bool forStroke) 1845void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 2243bool WriteTCO(string element, Transform transform, Geometry clip, Matrix clipMat, double opacity, Brush opacityMask, Rect bounds) 2334Geometry clip,
Serialization\VisualTreeFlattener.cs (3)
448Geometry clip = VisualTreeHelper.GetClip(visual); 538Geometry inheritedClipping = _dcf.Clip; 841static internal bool WritePath(System.Xml.XmlWriter bodyWriter, Geometry geometry, Size pageSize)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (4)
212typeof(Geometry), 216public static Geometry GetPathData(DependencyObject element) 219return (Geometry)element.GetValue(PathDataProperty); 222public static void SetPathData(DependencyObject element, Geometry value)