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();
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\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)
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;