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