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