Core\CSharp\System\Windows\Media\Geometry.cs (18)
53public static Geometry Empty
128internal virtual bool AreClose(Geometry geometry)
241internal Geometry GetTransformedCopy(Transform transform)
243Geometry copy = Clone();
536public bool FillContains(Geometry geometry, double tolerance, ToleranceType type)
547public bool FillContains(Geometry geometry)
558public virtual IntersectionDetail FillContainsWithDetail(Geometry geometry, double tolerance, ToleranceType type)
575public IntersectionDetail FillContainsWithDetail(Geometry geometry)
587public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry, double tolerance, ToleranceType type)
604public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry)
828Geometry geometry1,
829Geometry geometry2,
846Geometry geometry1,
847Geometry geometry2,
856Geometry.StandardFlatteningTolerance,
1093private static Geometry MakeEmptyGeometry()
1095Geometry empty = new StreamGeometry();
1102private static Geometry s_empty = MakeEmptyGeometry();
src\Framework\MS\Internal\Documents\ParagraphResult.cs (6)
248internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect)
370internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, double paragraphTopSpace, Rect visibleRect)
649internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect)
1091internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success)
1264internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect, out bool success)
1348internal Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
src\Framework\MS\Internal\Documents\TextBoxView.cs (5)
693Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
697Geometry geometry = null;
1897Geometry selectionGeometry = null;
2041private void GetTightBoundingGeometryFromLineIndex(int lineIndex, int unclippedStartOffset, int unclippedEndOffset, TextAlignment alignment, double endOfParaGlyphWidth, ref Geometry geometry)
2127private void GetTightBoundingGeometryFromLineIndexForSelection(TextBoxLine line, int lineIndex, int unclippedStartOffset, int unclippedEndOffset, TextAlignment alignment, double endOfParaGlyphWidth, ref Geometry geometry)
src\Framework\MS\Internal\Documents\TextDocumentView.cs (14)
117internal override Geometry GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
119Geometry geometry = null;
139Geometry floatingElementGeometry = GetTightBoundingGeometryFromTextPositionsInFloatingElements(FloatingElements, startPosition, endPosition, 0.0, visibleRect, out success);
189Geometry columnGeometry = GetTightBoundingGeometryFromTextPositionsHelper(columns[columnIndex].Paragraphs, startPositionInThisSegment, endPositionInThisSegment, 0.0, visibleRect);
1280internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper(
1287Geometry geometry = null;
1320Geometry paragraphGeometry = null;
1347internal static Geometry GetTightBoundingGeometryFromTextPositionsHelper(
1355Geometry geometry = null;
1374private static Geometry GetTightBoundingGeometryFromTextPositionsInFloatingElements(
1382Geometry geometry = null;
1411Geometry paragraphGeometry = null;
3409private void TransformFromContent(Geometry geometry)
3465private static void TransformFromSubpage(Geometry geometry, Vector subpageOffset)
src\Framework\System\windows\Documents\CaretElement.cs (11)
460Geometry previousSelectionGeometry = _selectionGeometry;
473Geometry geometry = _textEditor.Selection.TextView.GetTightBoundingGeometryFromTextPositions(segment.Start, segment.End);
485internal static void AddGeometry(ref Geometry geometry, Geometry addedGeometry)
495geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
500internal static void ClipGeometryByViewport(ref Geometry geometry, Rect viewport)
504Geometry viewportGeometry = new RectangleGeometry(viewport);
505geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
509internal static void AddTransformToGeometry(Geometry targetGeometry, Transform transformToAdd)
802internal Geometry SelectionGeometry
1323private Geometry _selectionGeometry;