Lines Matching refs:fTextRect

454 		err = data->AddRect("_trect", fTextRect);
828 BSize(fTextRect.Width(), fTextRect.Height()),
830 fTextRect.OffsetTo(rect.left, rect.top);
1167 fTextRect = Bounds();
1169 _UpdateInsets(fTextRect);
1758 if ((*fLines)[lineNum + 1]->origin <= point.y - fTextRect.top)
1781 result.y = line->origin + fTextRect.top;
1807 float alignmentOffset = fTextRect.Width() - lineWidth;
1814 result.x += fTextRect.left;
1832 if (point.y >= fTextRect.bottom)
1834 else if (point.y < fTextRect.top)
1848 if (point.y >= ((line + 1)->origin + fTextRect.top))
1855 float alignmentOffset = fTextRect.Width() - LineWidth(lineNum);
1861 point.x -= fTextRect.left;
2122 selRect.right = std::max(fTextRect.right,
2130 selRect.left = std::min(fTextRect.left,
2133 selRect.right = std::max(fTextRect.right,
2140 selRect.left = std::min(fTextRect.left,
2166 float rightMax = fTextRect.right + fLayoutData->rightInset;
2169 float leftMin = fTextRect.left - fLayoutData->leftInset;
2232 if (rect == fTextRect)
2242 fTextRect = rect;
2251 return fTextRect;
2258 BRect oldTextRect(fTextRect);
2260 fTextRect = Bounds().OffsetToCopy(B_ORIGIN);
2261 fTextRect.left += fLayoutData->leftInset;
2262 fTextRect.top += fLayoutData->topInset;
2263 fTextRect.right -= fLayoutData->rightInset;
2264 fTextRect.bottom -= fLayoutData->bottomInset;
2271 BRegion invalid(oldTextRect | fTextRect);
2272 invalid.Exclude(fTextRect);
2716 BRect saveTextRect = fTextRect;
2718 fTextRect.right = fTextRect.left + width;
2723 fTextRect.left += fLayoutData->leftInset;
2724 fTextRect.right -= fLayoutData->rightInset;
2733 fTextRect.top -= fLayoutData->topInset;
2734 fTextRect.bottom += fLayoutData->bottomInset;
2738 *min = fTextRect.Height();
2742 *preferred = fTextRect.Height();
2748 fTextRect = saveTextRect;
3218 fTextRect = textRect;
3222 fMinTextRectWidth = fTextRect.Width();
3450 _ScrollTo(0, fTextRect.bottom + fLayoutData->bottomInset);
3604 _ScrollTo(0, fTextRect.bottom + fLayoutData->bottomInset);
3608 _ScrollTo(0, fTextRect.bottom + fLayoutData->bottomInset);
3786 float saveHeight = fTextRect.Height();
3787 float saveWidth = fTextRect.Width();
3800 float newHeight = fTextRect.Height();
3811 toLine = _LineAt(BPoint(0.0f, saveHeight + fTextRect.top));
3813 toLine = _LineAt(BPoint(0.0f, newHeight + fTextRect.top));
3828 eraseRect.top = fTextRect.top + (*fLines)[fLines->NumLines()]->origin;
3829 eraseRect.bottom = fTextRect.top + saveHeight;
3856 float width = fTextRect.Width();
3859 if (!fTextRect.IsValid() || width == 0)
3929 fTextRect.left = Bounds().left + fLayoutData->leftInset;
3930 fTextRect.right = Bounds().right - fLayoutData->rightInset;
3934 fTextRect.bottom = fTextRect.top + newHeight;
3944 fTextRect.right = fTextRect.left + fMinTextRectWidth;
3949 fTextRect.left = fTextRect.right - fMinTextRectWidth;
3954 fTextRect.InsetBy(roundf((fTextRect.Width()
3971 if (fTextRect.right <= fTextRect.left)
3972 fTextRect.right = fTextRect.left + 1;
3974 if (fTextRect.bottom <= fTextRect.top)
3975 fTextRect.bottom = fTextRect.top + 1;
4402 float startLeft = fTextRect.left;
4410 float alignmentOffset = fTextRect.Width() - LineWidth(lineNum);
4427 line->origin + line->ascent + fTextRect.top + 1);
4430 eraseRect.top = line->origin + fTextRect.top;
4431 eraseRect.bottom = (line + 1)->origin + fTextRect.top;
4507 float penPos = PenLocation().x - fTextRect.left;
4516 penPos -= fTextRect.Width() - LineWidth(lineNum);
4521 penPos -= floorf((fTextRect.Width()
4555 BRect clipRect(fTextRect);
4556 clipRect.left = std::min(fTextRect.left,
4558 clipRect.right = std::max(fTextRect.right,
4602 eraseRect.bottom = (line + 1)->origin + fTextRect.top;
4657 BRect invalidRect(Bounds().left, from->origin + fTextRect.top,
4659 to != NULL ? to->origin + fTextRect.top : fTextRect.bottom);
4669 caretPoint.x = std::min(caretPoint.x, fTextRect.right);
5008 if (fTextRect.left > bounds.left && fTextRect.right < bounds.right)
5020 if (fTextRect.top > bounds.top && fTextRect.bottom < bounds.bottom)
5085 float minWidth = fTextRect.left - fLayoutData->leftInset;
5086 float maxWidth = fTextRect.right + fLayoutData->rightInset - viewWidth;
5087 float minHeight = fTextRect.top - fLayoutData->topInset;
5088 float maxHeight = fTextRect.bottom + fLayoutData->bottomInset - viewHeight;
5129 fTextRect.OffsetTo(fLayoutData->leftInset, fLayoutData->topInset);
5147 BRect bitmapRect(0, 0, fTextRect.Width() + padding, fTextRect.Height());
5864 return fLines->PixelToLine(point.y - fTextRect.top);
6068 return fTextRect.Width()
6077 return fTextRect.Height()
6086 BRect rect(fTextRect);