54 references to BoundingRect
PresentationFramework (54)
System\Windows\Documents\FixedSOMContainer.cs (2)
163
_UpdateBoundingRect(box.
BoundingRect
);
169
_UpdateBoundingRect(box.
BoundingRect
);
System\Windows\Documents\FixedSOMFixedBlock.cs (12)
47
lastRun.
BoundingRect
.Height / run.
BoundingRect
.Height < 0.75 &&
48
run.
BoundingRect
.Left != lastRun.
BoundingRect
.Left &&
49
run.
BoundingRect
.Right != lastRun.
BoundingRect
.Right &&
50
run.
BoundingRect
.Top != lastRun.
BoundingRect
.Top &&
51
run.
BoundingRect
.Bottom != lastRun.
BoundingRect
.Bottom)
53
return run.
BoundingRect
.Height;
56
return lastRun.
BoundingRect
.Height;
System\Windows\Documents\FixedSOMGroup.cs (2)
145
_boundingRect = pageElement.
BoundingRect
;
149
_boundingRect.Union(pageElement.
BoundingRect
);
System\Windows\Documents\FixedSOMPageConstructor.cs (21)
556
Rect textRunRect = textRun.
BoundingRect
;
557
Rect fixedBlockRect = _currentFixedBlock.
BoundingRect
;
589
Rect textRunRect = textRun.
BoundingRect
;
590
Rect fixedBlockRect = fixedBlock.
BoundingRect
;
595
if (lastLine != null && textRunRect.Bottom <= lastLine.
BoundingRect
.Top)
645
!(FixedTextBuilder.IsSameLine(compareLine.
BoundingRect
.Top - textRunRect.Top, textRunRect.Height, compareLine.
BoundingRect
.Height)))
731
return _IsSpatiallyCombinable(box1.
BoundingRect
, box2.
BoundingRect
, inflateH, inflateV);
1031
if (Math.Abs(t.
BoundingRect
.Left - row.
BoundingRect
.Left) < fudge &&
1032
Math.Abs(t.
BoundingRect
.Right - row.
BoundingRect
.Right) < fudge &&
1033
Math.Abs(t.
BoundingRect
.Bottom - row.
BoundingRect
.Top) < fudge)
1053
if (tables[i].
BoundingRect
.Contains(tables[j].
BoundingRect
) &&
1058
else if (tables[j].
BoundingRect
.Contains(tables[i].
BoundingRect
) &&
1150
nextPageElement.
BoundingRect
.Top >= currentPageElement.
BoundingRect
.Top))
System\Windows\Documents\FixedSOMSemanticBox.cs (4)
195
Rect thisRect = this.
BoundingRect
;
196
Rect otherRect = otherBox.
BoundingRect
;
250
Rect thisRect = this.
BoundingRect
;
251
Rect otherRect = otherBox.
BoundingRect
;
System\Windows\Documents\FixedSOMTable.cs (8)
76
Rect bounds = container.
BoundingRect
;
84
if (this.
BoundingRect
.Contains(bounds))
88
if (row.
BoundingRect
.Contains(bounds))
92
if (cell.
BoundingRect
.Contains(bounds))
186
if (row != null && row.IsEmpty && row.
BoundingRect
.Height < _minRowHeight)
221
deleteCol = cell.IsEmpty && cell.
BoundingRect
.Width < _minColumnWidth;
228
double cellStart = cell.
BoundingRect
.Left;
273
if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].
BoundingRect
.Left == nextCol)
System\Windows\Documents\FixedSOMTextRun.cs (2)
48
Rect thisRect = this.
BoundingRect
;
49
Rect otherRect = otherRun.
BoundingRect
;
System\Windows\Documents\FixedTextBuilder.cs (1)
1659
_lineLayoutBox.Union(run.
BoundingRect
);
System\Windows\Documents\FlowPosition.cs (2)
263
image.Width = somImage.
BoundingRect
.Width;
264
image.Height = somImage.
BoundingRect
.Height;