14 types derived from Geometry
PresentationCore (14)
System\Windows\Media\CombinedGeometry.cs (1)
37public sealed partial class CombinedGeometry : Geometry
System\Windows\Media\EllipseGeometry.cs (1)
30public sealed partial class EllipseGeometry : Geometry
System\Windows\Media\Generated\CombinedGeometry.cs (1)
45sealed partial class CombinedGeometry : Geometry
System\Windows\Media\Generated\EllipseGeometry.cs (1)
45sealed partial class EllipseGeometry : Geometry
System\Windows\Media\Generated\GeometryGroup.cs (1)
45sealed partial class GeometryGroup : Geometry
System\Windows\Media\Generated\LineGeometry.cs (1)
45sealed partial class LineGeometry : Geometry
System\Windows\Media\Generated\PathGeometry.cs (1)
45sealed partial class PathGeometry : Geometry
System\Windows\Media\Generated\RectangleGeometry.cs (1)
45sealed partial class RectangleGeometry : Geometry
System\Windows\Media\Generated\StreamGeometry.cs (1)
45sealed partial class StreamGeometry : Geometry
System\Windows\Media\GeometryGroup.cs (1)
36public sealed partial class GeometryGroup : Geometry
System\Windows\Media\LineGeometry.cs (1)
31public sealed partial class LineGeometry : Geometry
System\Windows\Media\PathGeometry.cs (1)
53public sealed partial class PathGeometry : Geometry
System\Windows\Media\RectangleGeometry.cs (1)
30public sealed partial class RectangleGeometry : Geometry
System\Windows\Media\StreamGeometry.cs (1)
42public 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)
41out Geometry geometry, 213out Geometry geometry,
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
284Geometry clipGeometry = VisualTreeHelper.GetClip(visualParent);
System\Windows\Ink\Stroke2.cs (5)
451public Geometry GetGeometry() 461public Geometry GetGeometry(DrawingAttributes drawingAttributes) 473Geometry geometry; 558internal void SetGeometry(Geometry geometry) 710private Geometry _cachedGeometry = null;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
744Geometry geometry, 782Geometry strokeGeometry; 1202private Geometry _zeroSizedFrozenRect;
System\Windows\Media\BoundsDrawingContextWalker.cs (6)
95Geometry.StandardFlatteningTolerance, 133Geometry.StandardFlatteningTolerance, 181Geometry.StandardFlatteningTolerance, 231Geometry.StandardFlatteningTolerance, 256Geometry geometry) 350Geometry clipGeometry)
System\Windows\Media\CombinedGeometry.cs (16)
58Geometry geometry1, 59Geometry geometry2 80Geometry geometry1, 81Geometry geometry2 106Geometry geometry1, 107Geometry geometry2, 180Geometry geometry1 = Geometry1; 181Geometry geometry2 = Geometry2; 252return Geometry.GetEmptyPathGeometryData(); 263Geometry g1 = Geometry1; 264Geometry g2 = Geometry2; 269Geometry geometry2 = (g2 == null) ? 292Geometry geometry1 = Geometry1; 293Geometry geometry2 = Geometry2; 321Geometry geometry1 = Geometry1; 322Geometry geometry2 = Geometry2;
System\Windows\Media\ContainerVisual.cs (1)
64public Geometry Clip
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (7)
63if (!(value is Geometry)) 68Geometry instance = (Geometry) value; 81return Geometry.Parse(value ); 94if (value is Geometry) 96Geometry instance = (Geometry) value;
System\Windows\Media\DrawingDrawingContext.cs (3)
518Geometry geometry) 746Geometry clipGeometry) 1298private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\EllipseGeometry.cs (2)
187rect = Geometry.GetBoundsHelper( 317return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\FormattedText.cs (7)
1584public Geometry BuildHighlightGeometry(Point origin) 1596public Geometry BuildGeometry(Point origin) 1626return Geometry.Empty; 1637public Geometry BuildHighlightGeometry(Point origin, int startIndex, int count) 1687accumulatedBounds = Geometry.Combine(accumulatedBounds, rectangleGeometry, GeometryCombineMode.Union, null); 1955Geometry glyphRunGeometry = glyphRun.BuildGeometry(); 1974Geometry geometry = geometryDrawing.Geometry;
System\Windows\Media\Generated\CombinedGeometry.cs (26)
111Geometry oldV = (Geometry) e.OldValue; 112Geometry newV = (Geometry) e.NewValue; 155Geometry oldV = (Geometry) e.OldValue; 156Geometry newV = (Geometry) e.NewValue; 201public Geometry Geometry1 205return (Geometry) GetValue(Geometry1Property); 216public Geometry Geometry2 220return (Geometry) GetValue(Geometry2Property); 270Geometry vGeometry1 = Geometry1; 271Geometry vGeometry2 = Geometry2; 312Geometry vGeometry1 = Geometry1; 314Geometry vGeometry2 = Geometry2; 333Geometry vGeometry1 = Geometry1; 335Geometry vGeometry2 = Geometry2; 425internal static Geometry s_Geometry1 = Geometry.Empty; 426internal static Geometry s_Geometry2 = Geometry.Empty; 468typeof(Geometry), 470Geometry.Empty, 477typeof(Geometry), 479Geometry.Empty,
System\Windows\Media\Generated\DrawingContext.cs (2)
256Geometry geometry); 345Geometry clipGeometry);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
326Geometry geometry) 457Geometry clipGeometry)
System\Windows\Media\Generated\DrawingContextWalker.cs (2)
281Geometry geometry) 394Geometry clipGeometry)
System\Windows\Media\Generated\DrawingGroup.cs (10)
191Geometry oldV = (Geometry) e.OldValue; 192Geometry newV = (Geometry) e.NewValue; 411public Geometry ClipGeometry 415return (Geometry) GetValue(ClipGeometryProperty); 555Geometry vClipGeometry = ClipGeometry; 627Geometry vClipGeometry = ClipGeometry; 660Geometry vClipGeometry = ClipGeometry; 882typeof(Geometry),
System\Windows\Media\Generated\Geometry.cs (8)
61public new Geometry Clone() 63return (Geometry)base.Clone(); 70public new Geometry CloneCurrentValue() 72return (Geometry)base.CloneCurrentValue(); 88Geometry target = ((Geometry) d); 315public static Geometry Parse(string source) 377Type typeofThis = typeof(Geometry);
System\Windows\Media\Generated\GeometryCollection.cs (55)
50public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry> 95public void Add(Geometry value) 115FrugalStructList<Geometry> oldCollection = _collection; 116_collection = new FrugalStructList<Geometry>(_collection.Capacity); 135public bool Contains(Geometry value) 145public int IndexOf(Geometry value) 155public void Insert(int index, Geometry value) 177public bool Remove(Geometry value) 193Geometry oldValue = _collection[index]; 237Geometry oldValue = _collection[ index ]; 255public Geometry this[int index] 274Geometry oldValue = _collection[ index ]; 308public void CopyTo(Geometry[] array, int index) 323bool ICollection<Geometry>.IsReadOnly 347IEnumerator<Geometry> IEnumerable<Geometry>.GetEnumerator() 360return ((ICollection<Geometry>)this).IsReadOnly; 395return Contains(value as Geometry); 400return IndexOf(value as Geometry); 411Remove(value as Geometry); 503internal Geometry Internal_GetItem(int i) 530private Geometry Cast(object value) 534if (!(value is Geometry)) 539return (Geometry) value; 545private int AddHelper(Geometry value) 556internal int AddWithoutFiringPublicEvents(Geometry value) 565Geometry newValue = value; 641_collection = new FrugalStructList<Geometry>(count); 645Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].Clone(); 662_collection = new FrugalStructList<Geometry>(count); 666Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].CloneCurrentValue(); 683_collection = new FrugalStructList<Geometry>(count); 687Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].GetAsFrozen(); 704_collection = new FrugalStructList<Geometry>(count); 708Geometry newValue = (Geometry) sourceGeometryCollection._collection[i].GetCurrentValueAsFrozen(); 787internal FrugalStructList<Geometry> _collection; 797public struct Enumerator : IEnumerator, IEnumerator<Geometry> 808_current = default(Geometry); 887public Geometry Current 910private Geometry _current; 932_collection = new FrugalStructList<Geometry>(); 941_collection = new FrugalStructList<Geometry>(capacity); 947public GeometryCollection(IEnumerable<Geometry> collection) 958ICollection<Geometry> icollectionOfT = collection as ICollection<Geometry>; 962_collection = new FrugalStructList<Geometry>(icollectionOfT); 970_collection = new FrugalStructList<Geometry>(icollection); 974_collection = new FrugalStructList<Geometry>(); 976foreach (Geometry item in collection) 982Geometry newValue = item; 994foreach (Geometry item in collection)
System\Windows\Media\Generated\GeometryConverter.cs (7)
81if (!(context.Instance is Geometry)) 86Geometry value = (Geometry)context.Instance; 122return Geometry.Parse(source); 144if (destinationType != null && value is Geometry) 146Geometry instance = (Geometry)value;
System\Windows\Media\Generated\GeometryDrawing.cs (10)
192Geometry oldV = (Geometry) e.OldValue; 193Geometry newV = (Geometry) e.NewValue; 253public Geometry Geometry 257return (Geometry) GetValue(GeometryProperty); 308Geometry vGeometry = Geometry; 340Geometry vGeometry = Geometry; 361Geometry vGeometry = Geometry; 480typeof(Geometry),
System\Windows\Media\Generated\RenderData.cs (4)
1261(Geometry)DependentLookup(data->hGeometry) 1336(Geometry)DependentLookup(data->hClipGeometry) 1610(Geometry)DependentLookup(data->hGeometry) 1687(Geometry)DependentLookup(data->hClipGeometry)
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
563Geometry geometry) 889Geometry clipGeometry)
System\Windows\Media\Generated\TextEffect.cs (3)
126public Geometry Clip 130return (Geometry) GetValue(ClipProperty); 321typeof(Geometry),
System\Windows\Media\Geometry.cs (18)
52public static Geometry Empty 127internal virtual bool AreClose(Geometry geometry) 236internal Geometry GetTransformedCopy(Transform transform) 238Geometry copy = Clone(); 517public bool FillContains(Geometry geometry, double tolerance, ToleranceType type) 528public bool FillContains(Geometry geometry) 539public virtual IntersectionDetail FillContainsWithDetail(Geometry geometry, double tolerance, ToleranceType type) 556public IntersectionDetail FillContainsWithDetail(Geometry geometry) 568public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry, double tolerance, ToleranceType type) 585public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry) 787Geometry geometry1, 788Geometry geometry2, 805Geometry geometry1, 806Geometry geometry2, 815Geometry.StandardFlatteningTolerance, 1032private static Geometry MakeEmptyGeometry() 1034Geometry empty = new StreamGeometry(); 1041private static Geometry s_empty = MakeEmptyGeometry();
System\Windows\Media\GeometryCollection.cs (1)
33public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry>
System\Windows\Media\GeometryDrawing.cs (1)
38public GeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\GeometryGroup.cs (2)
117if (!((Geometry)children[i]).IsEmpty()) 147if (((Geometry)children[i]).MayHaveCurves())
System\Windows\Media\GeometryHitTestParameters.cs (4)
25private Geometry _hitGeometryCache = null; // Cached frozen copy we hand out from HitGeometry property. 33public GeometryHitTestParameters(Geometry geometry) : base() 90public Geometry HitGeometry 96_hitGeometryCache = (Geometry) _hitGeometryInternal.GetAsFrozen();
System\Windows\Media\GlyphRun.cs (3)
1575public Geometry BuildGeometry() 1606Geometry glyphGeometry = _glyphTypeface.ComputeGlyphOutline(glyphIndex, IsSideways, _renderingEmSize); 1623return Geometry.Empty;
System\Windows\Media\GlyphTypeface.cs (4)
214public Geometry GetGlyphOutline(ushort glyphIndex, double renderingEmSize, double hintingEmSize) 1258internal Geometry ComputeGlyphOutline(ushort glyphIndex, 1288Geometry.PathGeometryData pathGeoData = new Geometry.PathGeometryData();
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (8)
93public ClipModifierNode(Geometry clip) {_clip = clip;} 94public Geometry _clip; 118Geometry geometry) 125Geometry testedGeometry; 140testedGeometry = Geometry.Combine( 196Geometry clipGeometry) 219clipGeometry = Geometry.Combine( 479private Geometry _currentClip;
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (2)
81Geometry geometry) 143Geometry clipGeometry)
System\Windows\Media\LineGeometry.cs (2)
123return Geometry.GetBoundsHelper( 253return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\ParsersCommon.cs (1)
86internal static Geometry ParseGeometry(
System\Windows\Media\PathFigure.cs (1)
105return GetFlattenedPathFigure(Geometry.StandardFlatteningTolerance, ToleranceType.Absolute);
System\Windows\Media\PathGeometry.cs (7)
110public static PathGeometry CreateFromGeometry(Geometry geometry) 377public void AddGeometry(Geometry geometry) 619Geometry geometry1, 620Geometry geometry2, 838Geometry geometry1, 839Geometry geometry2, 982return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\RectangleGeometry.cs (3)
141internal override bool AreClose(Geometry geometry) 228boundingRect = Geometry.GetBoundsHelper( 412return Geometry.GetEmptyPathGeometryData();
System\Windows\Media\StreamGeometry.cs (2)
364return Geometry.GetEmptyPathGeometryData(); 421Geometry.GetEmptyPathGeometryData().SerializedData :
System\Windows\Media\TextEffect.cs (1)
49Geometry clip,
System\Windows\Media\Visual.cs (11)
584Geometry clip = ClipField.GetValue(this); 775Geometry clip = ClipField.GetValue(this); 1117Geometry clip = ClipField.GetValue(this); 1528Geometry clip = ClipField.GetValue(this); 2016Geometry clip = VisualClip; 2251Geometry clip = VisualClip; 3434protected internal Geometry VisualClip 3453internal void ChangeVisualClip(Geometry newClip, bool dontSetWhenClose) 3457Geometry oldClip = ClipField.GetValue(this); 5359private static readonly UncommonField<Geometry> ClipField = new UncommonField<Geometry>();
System\Windows\Media\VisualTreeHelper.cs (1)
280public static Geometry GetClip(Visual reference)
System\Windows\Media3D\Viewport3DVisual.cs (1)
74public Geometry Clip
System\Windows\UIElement.cs (6)
3072Geometry clipGeometry = GetLayoutClip(layoutSlotSize); 3342protected virtual Geometry GetLayoutClip(Size layoutSlotSize) 3402typeof(Geometry), 3405(Geometry) null, 3422public Geometry Clip 3424get { return (Geometry) GetValue(ClipProperty); }
PresentationFramework (165)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
933Geometry viewGeometry = GetPageGeometry(segment, view, parentView); 946private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 958Geometry pageGeometry = null; 1101protected override Geometry DefiningGeometry 1107return Geometry.Empty;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
371Debug.Assert(marker.Data != null || marker.Data == Geometry.Empty, "undefined geometry"); 580private Path CreateMarker(Geometry geometry) 681private Geometry GetMarkerGeometry()
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
221protected override Geometry GetLayoutClip(Size layoutSlotSize)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
242Geometry rectGeometry = null; 296hatchGeometry = Geometry.Combine(hatchGeometry, rectGeometry, GeometryCombineMode.Union, null); 311Geometry outlineGeometry = null;
MS\Internal\Documents\DocumentPageTextView.cs (2)
145internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 153Geometry geometry = null;
MS\Internal\Documents\MultiPageTextView.cs (3)
145internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 153Geometry geometry = null; 171Geometry pageGeometry = _pageTextViews[i].GetTightBoundingGeometryFromTextPositions(startPositionInTextSegment, endPositionInTextSegment);
MS\Internal\Documents\ParagraphResult.cs (6)
242internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 364internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, double paragraphTopSpace, Rect visibleRect) 643internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 1083internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success) 1255internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success) 1339internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
MS\Internal\Documents\TextBoxLine.cs (1)
203internal TextBoxLineDrawingVisual CreateVisual(Geometry selectionGeometry)
MS\Internal\Documents\TextBoxView.cs (5)
689Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 693Geometry 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)
110internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 112Geometry geometry = null; 132Geometry floatingElementGeometry = GetTightBoundingGeometryFromTextPositionsInFloatingElements(FloatingElements, startPosition, endPosition, 0.0, visibleRect, out success); 182Geometry columnGeometry = GetTightBoundingGeometryFromTextPositionsHelper(columns[columnIndex].Paragraphs, startPositionInThisSegment, endPositionInThisSegment, 0.0, visibleRect); 1272internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1279Geometry geometry = null; 1312Geometry paragraphGeometry = null; 1339internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper( 1347Geometry geometry = null; 1366private static Geometry GetTightBoundingGeometryFromTextPositionsInFloatingElements( 1374Geometry geometry = null; 1403Geometry paragraphGeometry = null; 3400private void TransformFromContent(Geometry geometry) 3456private static void TransformFromSubpage(Geometry geometry, Vector subpageOffset)
MS\Internal\Documents\TextParagraphView.cs (2)
105internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 121Geometry geometry = _owner.GetTightBoundingGeometryFromTextPositions(startPosition, endPosition);
MS\Internal\Documents\TextViewBase.cs (2)
67internal abstract Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition); 491Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
MS\Internal\LayoutDump.cs (2)
218Geometry clip = VisualTreeHelper.GetClip(visual); 250Geometry clip = VisualTreeHelper.GetClip(element);
MS\Internal\PtsHost\CellParaClient.cs (2)
314internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 316Geometry geometry = null;
MS\Internal\PtsHost\ContainerParaClient.cs (1)
401internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect)
MS\Internal\PtsHost\FigureParaClient.cs (2)
740internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 742Geometry geometry = null;
MS\Internal\PtsHost\FloaterParaClient.cs (2)
748internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 750Geometry geometry = null;
MS\Internal\PtsHost\TableParaClient.cs (4)
824internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 829Geometry geometry = null; 873Geometry cellGeometry = cpc.GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect); 883geometry = Geometry.Combine(geometry, Visual.Clip, GeometryCombineMode.Intersect, null);
MS\Internal\PtsHost\TextParaClient.cs (9)
738internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, double paragraphTopSpace, Rect visibleRect) 740Geometry geometry = null; 741Geometry floatAndFigGeometry = null; 1817private Geometry PathGeometryFromDcpRangeSimpleLines( 1830Geometry geometry = null; 1924private Geometry PathGeometryFromDcpRangeCompositeLines( 1937Geometry geometry = null; 2327private Geometry PathGeometryFromDcpRangeFloatersAndFigures( 2332Geometry geometry = null;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
144internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (2)
60Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(textElement.ContentStart, textElement.ContentEnd); 175Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(startPointer, endPointer);
System\Windows\Controls\Canvas.cs (1)
344protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\DataGridCell.cs (3)
1061Geometry geometry = baseValue as Geometry; 1062Geometry frozenGeometry = DataGridHelper.GetFrozenClipForCell(cell);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2371internal Geometry GetFrozenClipForChild(UIElement child)
System\Windows\Controls\DataGridHelper.cs (1)
289public static Geometry GetFrozenClipForCell(IProvideDataGridColumn cell)
System\Windows\Controls\InkPresenter.cs (1)
230protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (3)
911Geometry geometry = baseValue as Geometry; 912Geometry frozenGeometry = DataGridHelper.GetFrozenClipForCell(header);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
181protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\LayoutInformation.cs (1)
42public static Geometry GetLayoutClip(FrameworkElement element)
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
515protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\Primitives\TabPanel.cs (1)
193protected override Geometry GetLayoutClip(Size layoutSlotSize)
System\Windows\Controls\TextAdaptor.cs (1)
144Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(first, last);
System\Windows\Controls\TextBlock.cs (2)
2274internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 2284Geometry geometry = null;
System\Windows\Documents\Adorner.cs (2)
98protected override Geometry GetLayoutClip(Size layoutSlotSize) 145internal Geometry AdornerClip
System\Windows\Documents\AdornerLayer.cs (4)
102internal Geometry Clip 118private Geometry _clip; 730Geometry clip = null; 845Geometry geometry = VisualTreeHelper.GetClip(element);
System\windows\Documents\CaretElement.cs (11)
456Geometry previousSelectionGeometry = _selectionGeometry; 469Geometry geometry = _textEditor.Selection.TextView.GetTightBoundingGeometryFromTextPositions(segment.Start, segment.End); 481internal static void AddGeometry(ref Geometry geometry, Geometry addedGeometry) 491geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 496internal static void ClipGeometryByViewport(ref Geometry geometry, Rect viewport) 500Geometry viewportGeometry = new RectangleGeometry(viewport); 501geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute); 505internal static void AddTransformToGeometry(Geometry targetGeometry, Transform transformToAdd) 798internal Geometry SelectionGeometry 1290private Geometry _selectionGeometry;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
154internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
System\Windows\Documents\FixedPage.cs (2)
1263Geometry renderGeom = path.RenderedGeometry; 1282Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedPageStructure.cs (1)
667Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
284Geometry geom = path.Data;
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
82Geometry geom = ft.BuildHighlightGeometry(labelLocation);
System\Windows\Documents\FixedTextBuilder.cs (10)
1189public LogicalHyperlink(Uri uri, Geometry geom, UIElement uiElement) 1206public Geometry Geometry 1245private Geometry _geometry; 1267public void AddLogicalHyperlink(Uri uri, Geometry geometry, UIElement uiElement) 1290Geometry g; 1339private LogicalHyperlink _GetHyperlinkFromGeometry(Geometry geom, Transform t) 1341Geometry g = geom; 1357Geometry combined = Geometry.Combine(g, _hyperlinks[i].Geometry, GeometryCombineMode.Intersect, Transform.Identity); 1425Geometry geom = ((Path)child).Data;
System\Windows\Documents\FixedTextView.cs (2)
245internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 292Geometry thisGeometry = new RectangleGeometry(backgroundRect);
System\Windows\Documents\HighlightVisual.cs (1)
236Geometry thisGeometry = new RectangleGeometry(backgroundRect);
System\Windows\Documents\ITextView.cs (1)
141Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition);
System\windows\Documents\TextEditorContextMenu.cs (1)
341Geometry clip = VisualTreeHelper.GetClip(element);
System\Windows\FrameworkElement.cs (3)
4884protected override Geometry GetLayoutClip(Size layoutSlotSize) 4997PathGeometry combinedClip = Geometry.Combine(localClip, slotClip, GeometryCombineMode.Intersect, null); 5049internal Geometry GetLayoutClipInternal()
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
333case 237: t = () => typeof(Geometry); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4680typeof(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)
56public override Geometry RenderedGeometry 174protected override Geometry DefiningGeometry 180return Geometry.Empty;
System\Windows\Shapes\Line.cs (1)
148protected override Geometry DefiningGeometry
System\Windows\Shapes\Path.cs (6)
49typeof(Geometry), 59public Geometry Data 63return (Geometry)GetValue(DataProperty); 77protected override Geometry DefiningGeometry 81Geometry data = Data; 85data = Geometry.Empty;
System\Windows\Shapes\Polygon.cs (3)
100protected override Geometry DefiningGeometry 121_polygonGeometry = Geometry.Empty; 161private Geometry _polygonGeometry;
System\Windows\Shapes\Polyline.cs (4)
100protected override Geometry DefiningGeometry 121_polylineGeometry = Geometry.Empty; 154_polylineGeometry = Geometry.Empty; 166private Geometry _polylineGeometry;
System\Windows\Shapes\Rectangle.cs (2)
108public override Geometry RenderedGeometry 228protected override Geometry DefiningGeometry
System\Windows\Shapes\Shape.cs (13)
66public virtual Geometry RenderedGeometry 72Geometry geometry = _renderedGeometry.CloneCurrentValue(); 73if (geometry == null || geometry == Geometry.Empty) 75return Geometry.Empty; 378_renderedGeometry = Geometry.Empty; 411_renderedGeometry = Geometry.Empty; 424if (_renderedGeometry != Geometry.Empty) 437protected abstract Geometry DefiningGeometry 684Geometry geometry = DefiningGeometry; 724Geometry geometry = DefiningGeometry; 741Geometry currentValue = _renderedGeometry.CloneCurrentValue(); 773private Geometry _renderedGeometry = Geometry.Empty;
PresentationFramework.Aero (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
866private static Geometry CheckMarkGeometry 2356private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
382Geometry geometry = GetBorderGeometry(border, bounds); 478private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
586private static Geometry _leftArrowGeometry; 587private static Geometry _rightArrowGeometry; 588private static Geometry _upArrowGeometry; 589private static Geometry _downArrowGeometry; 591private static Geometry LeftArrowGeometry 621private static Geometry RightArrowGeometry 651private static Geometry UpArrowGeometry 681private static Geometry DownArrowGeometry
PresentationFramework.Aero2 (12)
Microsoft\Windows\Themes\BulletChrome.cs (2)
866private static Geometry CheckMarkGeometry 2356private static Geometry _checkMarkGeometry;
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
382Geometry geometry = GetBorderGeometry(border, bounds); 478private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
586private static Geometry _leftArrowGeometry; 587private static Geometry _rightArrowGeometry; 588private static Geometry _upArrowGeometry; 589private static Geometry _downArrowGeometry; 591private static Geometry LeftArrowGeometry 621private static Geometry RightArrowGeometry 651private static Geometry UpArrowGeometry 681private static Geometry DownArrowGeometry
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
887private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 902private Geometry GetBorder(Rect bounds, Thickness borderThickness) 1070private Geometry GenerateTabTopHighlightGeometry(Rect bounds, bool outerBorder) 1102private Geometry GenerateTabTopShadowGeometry(Rect bounds, bool outerBorder) 1129private Geometry GetHighlight1(Rect bounds) 1147private Geometry GetShadow1(Rect bounds) 1160private Geometry GetHighlight2(Rect bounds) 1173private Geometry GetShadow2(Rect bounds) 1384private static Geometry TopLeftArcGeometry 1413private static Geometry BottomRightArcGeometry 1456public Geometry BorderGeometry; 1463public Geometry Highlight1; 1464public Geometry Shadow1; 1465public Geometry Highlight2; 1466public Geometry Shadow2; 1477private static Geometry _topLeftArcGeometry; 1478private static Geometry _bottomRightArcGeometry;
PresentationFramework.Luna (11)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
426private static Geometry _leftArrowGeometry; 427private static Geometry _rightArrowGeometry; 428private static Geometry _upArrowGeometry; 429private static Geometry _downArrowGeometry; 431private static Geometry LeftArrowGeometry 464private static Geometry RightArrowGeometry 497private static Geometry UpArrowGeometry 530private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
478private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 493private static Geometry CheckMarkGeometry 975private static Geometry _checkMarkGeometry;
PresentationFramework.Royale (11)
Microsoft\Windows\Themes\ScrollChrome.cs (8)
386private static Geometry _leftArrowGeometry; 387private static Geometry _rightArrowGeometry; 388private static Geometry _upArrowGeometry; 389private static Geometry _downArrowGeometry; 391private static Geometry LeftArrowGeometry 424private static Geometry RightArrowGeometry 457private static Geometry UpArrowGeometry 490private static Geometry DownArrowGeometry
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
478private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 493private static Geometry CheckMarkGeometry 975private static Geometry _checkMarkGeometry;
ReachFramework (176)
AlphaFlattener\BrushProxy.cs (19)
746Geometry viewboxGeometry = new RectangleGeometry(vb, 0, 0, new MatrixTransform(viewboxToViewportTransformHint)); 1274public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1475Geometry geometry; 1562Geometry childGeometry; 1605private bool IsDrawingOpaque(Primitive p, Geometry viewbox, Matrix transform) 1638Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), transform); 1670private bool IsDrawingTransparent(Primitive p, Geometry viewbox, Matrix drawingToWorldTransformHint) 1707Geometry shape = Utility.TransformGeometry(p.GetShapeGeometry(), drawingToWorldTransformHint); 3032Geometry visualClip = VisualTreeHelper.GetClip(visual); 3127Geometry visualClip = VisualTreeHelper.GetClip(vb.Visual); 3990public LinearGradientFlattener(LinearGradientBrush brush, Geometry geometry, double opacity) 4027Geometry xgeometry = Utility.TransformGeometry(geometry, worldToXTransform); 4062public Geometry GetSlice(int i, out Color color) 4105static private Geometry CreateRotatedRectangle(double x, double y, double w, double h, Matrix mat) 4158private Geometry _shape; 4180public RadialGradientFlattener(RadialGradientBrush b, Geometry shape, double opacity) 4289public Geometry GetSlice(int i, out Color color) 4305Geometry geometry; 4527private Geometry _shape; // fill region
AlphaFlattener\DrawingContext.cs (19)
30private Geometry _clip; 44Geometry clip) 76void IProxyDrawingContext.DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags) 146void IProxyDrawingContext.DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans) 170bool IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground) 232private bool LinearFillGeometry(BrushProxy linear, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 282Geometry slice = rf.GetSlice(i, out color); 356private bool RadialFillGeometry(BrushProxy radial, BrushProxy other, bool pre, ArrayList brushes, int from, Geometry shape) 407Geometry slice = rf.GetSlice(i, out color); 477private bool FillGeometry(BrushProxy one, ArrayList brushes, int from, Geometry geometry) 564private bool BetterRasterize(BrushProxy brush, Geometry shape) 598private void RasterizeGeometry(BrushProxy brush, Geometry shape) 632private static double DrawGeometryCost(Brush b, Pen p, Geometry g) 693void IProxyDrawingContext.DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags) 831void IProxyDrawingContext.DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans) 859Geometry imageClip = Utility.TransformGeometry(clip, imageTransform); 930bool IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground)
AlphaFlattener\Flattener.cs (7)
84public void TreeFlatten(Primitive tree, Geometry clip, Matrix transform, double opacity, BrushProxy opacityMask) 130Geometry transclip = Utility.TransformGeometry(tree.Clip, transform); 239Geometry transclip = Utility.TransformGeometry(tree.Clip, transform); 1129Geometry g = p.Geometry; 1250Geometry clip = null; 1324void ILegacyDevice.PushClip(Geometry clipGeometry) 1381void ILegacyDevice.DrawGeometry(Brush brush, Pen pen, Brush strokeBrush, Geometry geometry)
AlphaFlattener\Interfaces.cs (6)
23void DrawGeometry(Brush brush, Pen pen, Geometry geometry); 54Geometry clip, 110void DrawGeometry(BrushProxy brush, PenProxy pen, Geometry geometry, Geometry clip, Matrix brushTrans, ProxyDrawingFlags flags); 112void DrawImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans); 114bool DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground);
AlphaFlattener\MetroDevice.cs (6)
51private Geometry _clip; // Current layer Clip 149public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 300public void Push(Matrix transform, Geometry clip, double opacity, Brush opacityMask, Rect maskBounds, bool onePrimitive) 391_clip = _stack.Pop() as Geometry; 693void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 710Geometry clip,
AlphaFlattener\Optimizer.cs (3)
63Geometry clip = null; 80Geometry geometry = Utility.Intersect(primitive.GetShapeGeometry(), primitive.Clip, Matrix.Identity, out empty); 329Geometry geo = gp.Geometry;
AlphaFlattener\Primitive.cs (31)
30private Geometry _clip; // changes coordinate spaces throughout printing 74public abstract Geometry GetShapeGeometry(); 80public abstract void Exclude(Geometry g); 166public Geometry GetClippedShapeGeometry() 168Geometry shape = GetShapeGeometry(); 244public Geometry Clip 657private Geometry _geometry; 658private Geometry _widenGeometry; 832Geometry worldGeometry = GetClippedShapeGeometry(); 833Geometry 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) 1478Geometry geometryClip = Clip; 1596Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1639private Geometry _bounds; // glyph bounds in world space (transformation has been applied) 1661public override Geometry WidenGeometry 1692public override Geometry GetShapeGeometry() 1694Geometry g = Utility.TransformGeometry(WidenGeometry, Transform); 1699public override void Exclude(Geometry g) 1832public override Geometry GetShapeGeometry() 1837public override void Exclude(Geometry g) 1931Geometry dest = Utility.TransformGeometry(new RectangleGeometry(DstRect), Transform); 2025public override Geometry GetShapeGeometry() 2031public override void Exclude(Geometry g) 2202Geometry pshape = p.primitive.GetShapeGeometry();
AlphaFlattener\PrimitiveList.cs (1)
149Geometry clip = p.Clip;
AlphaFlattener\PrimitiveRenderer.cs (30)
24public void RenderImage(ImageProxy image, Rect dest, Geometry clip, Matrix trans, string desp) 31Geometry bounds; 51public void DrawGeometry(Geometry cur, string desp, GeometryPrimitive gp) 61Geometry topBounds; 62Geometry inter; 114Geometry topBounds; 115Geometry inter; 123Geometry cur = glyphrun.BuildGeometry(); 150public Geometry Clip 250Geometry bounds, 258Geometry topBounds; 259Geometry inter; 264Geometry diff = Utility.Exclude(bounds, topBounds, trans); 299Geometry clip = _clip; 318private bool FindIntersection(Geometry cur, ref int start, out PrimitiveInfo topPI, out Geometry topBounds, out Geometry inter) 382private void FillGeometry(Geometry cur, string desp, Geometry curAlt, string despAlt, int start) 385Geometry top; 386Geometry inter; 411Geometry cur, 413Geometry curAlt, 416Geometry inter, 417Geometry topBounds 421Geometry diff = Utility.Exclude(cur, topBounds, Matrix.Identity); 474Geometry clip = Utility.Intersect(inter, Utility.TransformGeometry(new RectangleGeometry(ip.DstRect), ip.Transform), ip.Transform, out empty); 479Geometry clipImageSpace = Utility.TransformGeometry(clip, ReverseMap(ip.Transform, ip.DstRect, imageWidth, imageHeight)); 533Geometry geo = Utility.Intersect(cur, _clip, Matrix.Identity, out empty); 551private Geometry _clip;
AlphaFlattener\Utility.cs (36)
367static public Geometry TransformGeometry(Geometry g, Matrix t) 379Geometry newg = g.CloneCurrentValue(); 389static public Geometry TransformGeometry(Geometry g, Transform t) 401Geometry newg = g.CloneCurrentValue(); 408static public Geometry InverseTransformGeometry(Geometry g, Matrix mat) 429static public bool IsEmpty(Geometry shape, Matrix mat) 458static public PathGeometry GetAsPathGeometry(Geometry geo) 470static public bool IsRectangle(Geometry geometry) 599public static bool IsLineSegment(Geometry geometry) 640static public double GetGeometryCost(Geometry g) 676foreach (Geometry c in gg.Children) 701static public bool FullyCovers(Geometry one, Geometry two) 735static public bool Covers(Geometry one, Geometry two) 766static public Geometry Intersect(Geometry one, Geometry two, Matrix mat, out bool empty) 816static public Geometry Exclude(Geometry one, Geometry two, Matrix mat) 832static public bool Disjoint(Geometry clip, Rect rect) 853public static int GetGeometryPointCount(Geometry geometry) 879Geometry.PathGeometryData data = geometry.GetPathGeometryData(); 887public static int GetGeometryDataPointCount(Geometry.PathGeometryData geometryData) 981static private Geometry Combine(Geometry one, Geometry two, GeometryCombineMode mode, Matrix mat) 987Geometry rslt = System.Windows.Media.Geometry.Combine(one, two, mode, 1597Geometry clip = VisualTreeHelper.GetClip(visualBrush.Visual); 2393public static void Analyze(Geometry.PathGeometryData geometryData, out int estimatedPointCount) 2418Geometry.PathGeometryData geometryData,
Serialization\DrawingContextFlattener.cs (9)
57private List<Geometry> _fullClip = new List<Geometry>(); 81Geometry clip, 134clip = Geometry.Empty; 177public Geometry Clip 252public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 366Geometry clip, 905public void DrawGeometry(Brush brush, Pen pen, Geometry geometry) 922Geometry clip,
Serialization\VisualSerializer.cs (6)
589_clip = _tcoStack.Pop() as Geometry; 868protected Geometry _clip; // = null; 1440internal bool WriteGeometry(string element, string attribute, Geometry geo, Matrix map, bool asElement, bool forFill, bool forStroke) 1852void IMetroDrawingContext.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 2250bool WriteTCO(string element, Transform transform, Geometry clip, Matrix clipMat, double opacity, Brush opacityMask, Rect bounds) 2341Geometry clip,
Serialization\VisualTreeFlattener.cs (3)
455Geometry clip = VisualTreeHelper.GetClip(visual); 545Geometry inheritedClipping = _dcf.Clip; 848static internal bool WritePath(System.Xml.XmlWriter bodyWriter, Geometry geometry, Size pageSize)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (4)
215typeof(Geometry), 219public static Geometry GetPathData(DependencyObject element) 222return (Geometry)element.GetValue(PathDataProperty); 225public static void SetPathData(DependencyObject element, Geometry value)