54 references to BoundingRect
PresentationFramework (54)
System\Windows\Documents\FixedSOMContainer.cs (2)
159
_UpdateBoundingRect(box.
BoundingRect
);
165
_UpdateBoundingRect(box.
BoundingRect
);
System\Windows\Documents\FixedSOMFixedBlock.cs (12)
43
lastRun.
BoundingRect
.Height / run.
BoundingRect
.Height < 0.75 &&
44
run.
BoundingRect
.Left != lastRun.
BoundingRect
.Left &&
45
run.
BoundingRect
.Right != lastRun.
BoundingRect
.Right &&
46
run.
BoundingRect
.Top != lastRun.
BoundingRect
.Top &&
47
run.
BoundingRect
.Bottom != lastRun.
BoundingRect
.Bottom)
49
return run.
BoundingRect
.Height;
52
return lastRun.
BoundingRect
.Height;
System\Windows\Documents\FixedSOMGroup.cs (2)
141
_boundingRect = pageElement.
BoundingRect
;
145
_boundingRect.Union(pageElement.
BoundingRect
);
System\Windows\Documents\FixedSOMPageConstructor.cs (21)
551
Rect textRunRect = textRun.
BoundingRect
;
552
Rect fixedBlockRect = _currentFixedBlock.
BoundingRect
;
584
Rect textRunRect = textRun.
BoundingRect
;
585
Rect fixedBlockRect = fixedBlock.
BoundingRect
;
590
if (lastLine != null && textRunRect.Bottom <= lastLine.
BoundingRect
.Top)
640
!(FixedTextBuilder.IsSameLine(compareLine.
BoundingRect
.Top - textRunRect.Top, textRunRect.Height, compareLine.
BoundingRect
.Height)))
726
return _IsSpatiallyCombinable(box1.
BoundingRect
, box2.
BoundingRect
, inflateH, inflateV);
1026
if (Math.Abs(t.
BoundingRect
.Left - row.
BoundingRect
.Left) < fudge &&
1027
Math.Abs(t.
BoundingRect
.Right - row.
BoundingRect
.Right) < fudge &&
1028
Math.Abs(t.
BoundingRect
.Bottom - row.
BoundingRect
.Top) < fudge)
1048
if (tables[i].
BoundingRect
.Contains(tables[j].
BoundingRect
) &&
1053
else if (tables[j].
BoundingRect
.Contains(tables[i].
BoundingRect
) &&
1145
nextPageElement.
BoundingRect
.Top >= currentPageElement.
BoundingRect
.Top))
System\Windows\Documents\FixedSOMSemanticBox.cs (4)
191
Rect thisRect = this.
BoundingRect
;
192
Rect otherRect = otherBox.
BoundingRect
;
246
Rect thisRect = this.
BoundingRect
;
247
Rect otherRect = otherBox.
BoundingRect
;
System\Windows\Documents\FixedSOMTable.cs (8)
71
Rect bounds = container.
BoundingRect
;
79
if (this.
BoundingRect
.Contains(bounds))
83
if (row.
BoundingRect
.Contains(bounds))
87
if (cell.
BoundingRect
.Contains(bounds))
181
if (row != null && row.IsEmpty && row.
BoundingRect
.Height < _minRowHeight)
216
deleteCol = cell.IsEmpty && cell.
BoundingRect
.Width < _minColumnWidth;
223
double cellStart = cell.
BoundingRect
.Left;
268
if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].
BoundingRect
.Left == nextCol)
System\Windows\Documents\FixedSOMTextRun.cs (2)
44
Rect thisRect = this.
BoundingRect
;
45
Rect otherRect = otherRun.
BoundingRect
;
System\Windows\Documents\FixedTextBuilder.cs (1)
1653
_lineLayoutBox.Union(run.
BoundingRect
);
System\Windows\Documents\FlowPosition.cs (2)
259
image.Width = somImage.
BoundingRect
.Width;
260
image.Height = somImage.
BoundingRect
.Height;