54 references to BoundingRect
PresentationFramework (54)
System\Windows\Documents\FixedSOMContainer.cs (2)
158_UpdateBoundingRect(box.BoundingRect); 164_UpdateBoundingRect(box.BoundingRect);
System\Windows\Documents\FixedSOMFixedBlock.cs (12)
42lastRun.BoundingRect.Height / run.BoundingRect.Height < 0.75 && 43run.BoundingRect.Left != lastRun.BoundingRect.Left && 44run.BoundingRect.Right != lastRun.BoundingRect.Right && 45run.BoundingRect.Top != lastRun.BoundingRect.Top && 46run.BoundingRect.Bottom != lastRun.BoundingRect.Bottom) 48return run.BoundingRect.Height; 51return lastRun.BoundingRect.Height;
System\Windows\Documents\FixedSOMGroup.cs (2)
140_boundingRect = pageElement.BoundingRect; 144_boundingRect.Union(pageElement.BoundingRect);
System\Windows\Documents\FixedSOMPageConstructor.cs (21)
552Rect textRunRect = textRun.BoundingRect; 553Rect fixedBlockRect = _currentFixedBlock.BoundingRect; 585Rect textRunRect = textRun.BoundingRect; 586Rect fixedBlockRect = fixedBlock.BoundingRect; 591if (lastLine != null && textRunRect.Bottom <= lastLine.BoundingRect.Top) 641!(FixedTextBuilder.IsSameLine(compareLine.BoundingRect.Top - textRunRect.Top, textRunRect.Height, compareLine.BoundingRect.Height))) 727return _IsSpatiallyCombinable(box1.BoundingRect, box2.BoundingRect, inflateH, inflateV); 1027if (Math.Abs(t.BoundingRect.Left - row.BoundingRect.Left) < fudge && 1028Math.Abs(t.BoundingRect.Right - row.BoundingRect.Right) < fudge && 1029Math.Abs(t.BoundingRect.Bottom - row.BoundingRect.Top) < fudge) 1049if (tables[i].BoundingRect.Contains(tables[j].BoundingRect) && 1054else if (tables[j].BoundingRect.Contains(tables[i].BoundingRect) && 1146nextPageElement.BoundingRect.Top >= currentPageElement.BoundingRect.Top))
System\Windows\Documents\FixedSOMSemanticBox.cs (4)
190Rect thisRect = this.BoundingRect; 191Rect otherRect = otherBox.BoundingRect; 245Rect thisRect = this.BoundingRect; 246Rect otherRect = otherBox.BoundingRect;
System\Windows\Documents\FixedSOMTable.cs (8)
70Rect bounds = container.BoundingRect; 78if (this.BoundingRect.Contains(bounds)) 82if (row.BoundingRect.Contains(bounds)) 86if (cell.BoundingRect.Contains(bounds)) 180if (row != null && row.IsEmpty && row.BoundingRect.Height < _minRowHeight) 215deleteCol = cell.IsEmpty && cell.BoundingRect.Width < _minColumnWidth; 222double cellStart = cell.BoundingRect.Left; 267if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol)
System\Windows\Documents\FixedSOMTextRun.cs (2)
43Rect thisRect = this.BoundingRect; 44Rect otherRect = otherRun.BoundingRect;
System\Windows\Documents\FixedTextBuilder.cs (1)
1648_lineLayoutBox.Union(run.BoundingRect);
System\Windows\Documents\FlowPosition.cs (2)
258image.Width = somImage.BoundingRect.Width; 259image.Height = somImage.BoundingRect.Height;