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