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
675 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 (263)
MS\Internal\Ink\StrokeRenderer.cs (2)
34out Geometry geometry, 206out 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)
730Geometry geometry, 768Geometry strokeGeometry; 1188private 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 (7)
38if (!(value is Geometry)) 43Geometry instance = (Geometry) value; 56return Geometry.Parse(value ); 69if (value is Geometry) 71Geometry instance = (Geometry) value;
System\Windows\Media\DrawingDrawingContext.cs (3)
500Geometry geometry) 728Geometry clipGeometry) 1280private 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)
1568public Geometry BuildHighlightGeometry(Point origin) 1580public Geometry BuildGeometry(Point origin) 1610return Geometry.Empty; 1621public Geometry BuildHighlightGeometry(Point origin, int startIndex, int count) 1671accumulatedBounds = Geometry.Combine(accumulatedBounds, rectangleGeometry, GeometryCombineMode.Union, null); 1939Geometry glyphRunGeometry = glyphRun.BuildGeometry(); 1958Geometry 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)
53if (!(context.Instance is Geometry)) 58Geometry value = (Geometry)context.Instance; 94return Geometry.Parse(source); 116if (destinationType != null && value is Geometry) 118Geometry 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, 1020private static Geometry MakeEmptyGeometry() 1022Geometry empty = new StreamGeometry(); 1029private 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)
1562public Geometry BuildGeometry() 1593Geometry glyphGeometry = _glyphTypeface.ComputeGlyphOutline(glyphIndex, IsSideways, _renderingEmSize); 1610return 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) 595Geometry geometry1, 596Geometry geometry2, 814Geometry geometry1, 815Geometry geometry2, 958return 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 (2)
343return Geometry.GetEmptyPathGeometryData(); 400Geometry.GetEmptyPathGeometryData().SerializedData :
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)
3067Geometry clipGeometry = GetLayoutClip(layoutSlotSize); 3337protected virtual Geometry GetLayoutClip(Size layoutSlotSize) 3397typeof(Geometry), 3400(Geometry) null, 3417public Geometry Clip 3419get { 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) 675private Geometry GetMarkerGeometry()
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
218protected override Geometry GetLayoutClip(Size layoutSlotSize)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
235Geometry rectGeometry = null; 289hatchGeometry = Geometry.Combine(hatchGeometry, rectGeometry, GeometryCombineMode.Union, null); 304Geometry 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; 1897Geometry selectionGeometry = null; 2043private void GetTightBoundingGeometryFromLineIndex(int lineIndex, int unclippedStartOffset, int unclippedEndOffset, TextAlignment alignment, double endOfParaGlyphWidth, ref Geometry geometry) 2129private 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); 1270internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1277Geometry geometry = null; 1310Geometry paragraphGeometry = null; 1337internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1345Geometry geometry = null; 1364private static Geometry GetTightBoundingGeometryFromTextPositionsInFloatingElements( 1372Geometry geometry = null; 1401Geometry paragraphGeometry = null; 3398private void TransformFromContent(Geometry geometry) 3454private 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)
215Geometry clip = VisualTreeHelper.GetClip(visual); 247Geometry 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)
734internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 736Geometry geometry = null;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
743internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 745Geometry 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)
1054Geometry geometry = baseValue as Geometry; 1055Geometry frozenGeometry = DataGridHelper.GetFrozenClipForCell(cell);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2367internal 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)
2264internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 2274Geometry 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; 726Geometry clip = null; 841Geometry geometry = VisualTreeHelper.GetClip(element);
System\windows\Documents\CaretElement.cs (11)
453Geometry previousSelectionGeometry = _selectionGeometry; 466Geometry geometry = _textEditor.Selection.TextView.GetTightBoundingGeometryFromTextPositions(segment.Start, segment.End); 478internal static void AddGeometry(ref Geometry geometry, Geometry addedGeometry) 488geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 493internal static void ClipGeometryByViewport(ref Geometry geometry, Rect viewport) 497Geometry viewportGeometry = new RectangleGeometry(viewport); 498geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 502internal static void AddTransformToGeometry(Geometry targetGeometry, Transform transformToAdd) 795internal Geometry SelectionGeometry 1287private Geometry _selectionGeometry;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
146internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
System\Windows\Documents\FixedPage.cs (2)
1255Geometry renderGeom = path.RenderedGeometry; 1274Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedPageStructure.cs (1)
661Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
279Geometry 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)
237internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 284Geometry 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)
4873protected override Geometry GetLayoutClip(Size layoutSlotSize) 4986PathGeometry combinedClip = Geometry.Combine(localClip, slotClip, GeometryCombineMode.Intersect, null); 5038internal Geometry GetLayoutClipInternal()
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
331case 237: t = () => typeof(Geometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4678typeof(System.Windows.Media.Geometry),
System\Windows\Markup\KnownTypes.cs (1)
5791case 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 679Geometry geometry = DefiningGeometry; 719Geometry geometry = DefiningGeometry; 736Geometry currentValue = _renderedGeometry.CloneCurrentValue(); 768private Geometry _renderedGeometry = Geometry.Empty;
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
860private static Geometry CheckMarkGeometry 2350private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
376Geometry geometry = GetBorderGeometry(border, bounds); 472private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
581private static Geometry _leftArrowGeometry; 582private static Geometry _rightArrowGeometry; 583private static Geometry _upArrowGeometry; 584private static Geometry _downArrowGeometry; 586private static Geometry LeftArrowGeometry 616private static Geometry RightArrowGeometry 646private static Geometry UpArrowGeometry 676private static Geometry DownArrowGeometry
PresentationFramework.Aero2 (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
860private static Geometry CheckMarkGeometry 2350private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
376Geometry geometry = GetBorderGeometry(border, bounds); 472private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
581private static Geometry _leftArrowGeometry; 582private static Geometry _rightArrowGeometry; 583private static Geometry _upArrowGeometry; 584private static Geometry _downArrowGeometry; 586private static Geometry LeftArrowGeometry 616private static Geometry RightArrowGeometry 646private static Geometry UpArrowGeometry 676private static Geometry DownArrowGeometry
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
884private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 899private Geometry GetBorder(Rect bounds, Thickness borderThickness) 1067private Geometry GenerateTabTopHighlightGeometry(Rect bounds, bool outerBorder) 1099private Geometry GenerateTabTopShadowGeometry(Rect bounds, bool outerBorder) 1126private Geometry GetHighlight1(Rect bounds) 1144private Geometry GetShadow1(Rect bounds) 1157private Geometry GetHighlight2(Rect bounds) 1170private Geometry GetShadow2(Rect bounds) 1381private static Geometry TopLeftArcGeometry 1410private static Geometry BottomRightArcGeometry 1453public Geometry BorderGeometry; 1460public Geometry Highlight1; 1461public Geometry Shadow1; 1462public Geometry Highlight2; 1463public Geometry Shadow2; 1474private static Geometry _topLeftArcGeometry; 1475private 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 460private static Geometry RightArrowGeometry 493private static Geometry UpArrowGeometry 526private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
474private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 489private static Geometry CheckMarkGeometry 971private 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 420private static Geometry RightArrowGeometry 453private static Geometry UpArrowGeometry 486private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
474private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 489private static Geometry CheckMarkGeometry 971private static Geometry _checkMarkGeometry;
ReachFramework (176)
AlphaFlattener\BrushProxy.cs (19)
742Geometry viewboxGeometry = new RectangleGeometry(vb, 0, 0, new MatrixTransform(viewboxToViewportTransformHint)); 1270public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1471Geometry geometry; 1558Geometry childGeometry; 1601private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1634Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), transform); 1666private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1703Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), drawingToWorldTransformHint); 3028Geometry visualClip = VisualTreeHelper.GetClip(visual); 3123Geometry visualClip = VisualTreeHelper.GetClip(vb.Visual); 3986public LinearGradientFlattener(LinearGradientBrush brush, Geometry geometry, double opacity) 4023Geometry xgeometry = Utility.TransformGeometry(geometry, worldToXTransform); 4058public Geometry GetSlice(int i, out Color color) 4101static private Geometry CreateRotatedRectangle(double x, double y, double w, double h, Matrix mat) 4154private Geometry _shape; 4176public RadialGradientFlattener(RadialGradientBrush b, Geometry shape, double opacity) 4285public Geometry GetSlice(int i, out Color color) 4301Geometry geometry; 4523private 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) 166bool IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground) 228private bool LinearFillGeometry(BrushProxy linear, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 278Geometry slice = rf.GetSlice(i, out color); 352private bool RadialFillGeometry(BrushProxy radial, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 403Geometry slice = rf.GetSlice(i, out color); 473private bool FillGeometry(BrushProxy one, ArrayList brushes, int from, Geometry geometry) 560private bool BetterRasterize(BrushProxy brush, Geometry shape) 594private void RasterizeGeometry(BrushProxy brush, Geometry shape) 628private static double DrawGeometryCost(Brush b, Pen p, Geometry g) 689void IProxyDrawingContext.DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags) 827void IProxyDrawingContext.DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans) 855Geometry imageClip = Utility.TransformGeometry(clip, imageTransform); 926bool 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); 1124Geometry g = p.Geometry; 1245Geometry clip = null; 1319void ILegacyDevice.PushClip(Geometry clipGeometry) 1376void 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) 294public void Push(Matrix transform, Geometry clip, double opacity, Brush opacityMask, Rect maskBounds, bool onePrimitive) 385_clip = _stack.Pop() as Geometry; 687void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 704Geometry clip,
AlphaFlattener\Optimizer.cs (3)
59Geometry clip = null; 76Geometry geometry = Utility.Intersect(primitive.GetShapeGeometry(), primitive.Clip, Matrix.Identity, out empty); 325Geometry 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 652private Geometry _geometry; 653private Geometry _widenGeometry; 827Geometry worldGeometry = GetClippedShapeGeometry(); 828Geometry brushGeometry; 1029public Geometry Geometry 1041public virtual Geometry WidenGeometry 1068protected Geometry WidenGeometryCore 1123Geometry saveGeometry = Geometry; 1124Geometry saveClip = Clip; 1162public override Geometry GetShapeGeometry() 1164Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1169public override void Exclude(Geometry g) 1473Geometry geometryClip = Clip; 1591Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1634private Geometry _bounds; // glyph bounds in world space (transformation has been applied) 1656public override Geometry WidenGeometry 1687public override Geometry GetShapeGeometry() 1689Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1694public override void Exclude(Geometry g) 1827public override Geometry GetShapeGeometry() 1832public override void Exclude(Geometry g) 1926Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 2020public override Geometry GetShapeGeometry() 2026public override void Exclude(Geometry g) 2197Geometry pshape = p.primitive.GetShapeGeometry();
AlphaFlattener\PrimitiveList.cs (1)
144Geometry 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, 1586Geometry clip = VisualTreeHelper.GetClip(visualBrush.Visual); 2382public static void Analyze(Geometry.PathGeometryData geometryData, out int estimatedPointCount) 2407Geometry.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; 860protected Geometry _clip; // = null; 1432internal bool WriteGeometry(string element, string attribute, Geometry geo, Matrix map, bool asElement, bool forFill, bool forStroke) 1844void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 2242bool WriteTCO(string element, Transform transform, Geometry clip, Matrix clipMat, double opacity, Brush opacityMask, Rect bounds) 2333Geometry 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)