54 references to BoundingRect
PresentationFramework (54)
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (2)
170_UpdateBoundingRect(box.BoundingRect); 177_UpdateBoundingRect(box.BoundingRect);
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (12)
52lastRun.BoundingRect.Height / run.BoundingRect.Height < 0.75 && 53run.BoundingRect.Left != lastRun.BoundingRect.Left && 54run.BoundingRect.Right != lastRun.BoundingRect.Right && 55run.BoundingRect.Top != lastRun.BoundingRect.Top && 56run.BoundingRect.Bottom != lastRun.BoundingRect.Bottom) 58return run.BoundingRect.Height; 61return lastRun.BoundingRect.Height;
src\Framework\System\Windows\Documents\FixedSOMGroup.cs (2)
152_boundingRect = pageElement.BoundingRect; 156_boundingRect.Union(pageElement.BoundingRect);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (21)
566Rect textRunRect = textRun.BoundingRect; 567Rect fixedBlockRect = _currentFixedBlock.BoundingRect; 599Rect textRunRect = textRun.BoundingRect; 600Rect fixedBlockRect = fixedBlock.BoundingRect; 605if (lastLine != null && textRunRect.Bottom <= lastLine.BoundingRect.Top) 655!(FixedTextBuilder.IsSameLine(compareLine.BoundingRect.Top - textRunRect.Top, textRunRect.Height, compareLine.BoundingRect.Height))) 739return _IsSpatiallyCombinable(box1.BoundingRect, box2.BoundingRect, inflateH, inflateV); 1040if (Math.Abs(t.BoundingRect.Left - row.BoundingRect.Left) < fudge && 1041Math.Abs(t.BoundingRect.Right - row.BoundingRect.Right) < fudge && 1042Math.Abs(t.BoundingRect.Bottom - row.BoundingRect.Top) < fudge) 1062if (tables[i].BoundingRect.Contains(tables[j].BoundingRect) && 1067else if (tables[j].BoundingRect.Contains(tables[i].BoundingRect) && 1159nextPageElement.BoundingRect.Top >= currentPageElement.BoundingRect.Top))
src\Framework\System\Windows\Documents\FixedSOMSemanticBox.cs (4)
200Rect thisRect = this.BoundingRect; 201Rect otherRect = otherBox.BoundingRect; 255Rect thisRect = this.BoundingRect; 256Rect otherRect = otherBox.BoundingRect;
src\Framework\System\Windows\Documents\FixedSOMTable.cs (8)
81Rect bounds = container.BoundingRect; 89if (this.BoundingRect.Contains(bounds)) 93if (row.BoundingRect.Contains(bounds)) 97if (cell.BoundingRect.Contains(bounds)) 192if (row != null && row.IsEmpty && row.BoundingRect.Height < _minRowHeight) 227deleteCol = cell.IsEmpty && cell.BoundingRect.Width < _minColumnWidth; 234double cellStart = cell.BoundingRect.Left; 279if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol)
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
54Rect thisRect = this.BoundingRect; 55Rect otherRect = otherRun.BoundingRect;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1688_lineLayoutBox.Union(run.BoundingRect);
src\Framework\System\Windows\Documents\FlowPosition.cs (2)
270image.Width = somImage.BoundingRect.Width; 271image.Height = somImage.BoundingRect.Height;