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