Lines Matching refs:lineHeight

431 	float height = LineCount() * fFontInfo->lineHeight - 1;
443 int32 line = (int32)yOffset / (int32)fFontInfo->lineHeight;
452 int32 lineHeight = (int32)fFontInfo->lineHeight;
453 minLine = (int32)rect.top / lineHeight;
454 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
463 float y = (float)line * fFontInfo->lineHeight;
464 return BRect(0, y, Bounds().right, y + fFontInfo->lineHeight - 1);
980 float y = ((float)line + 0.5f) * fFontInfo->lineHeight;
986 float y = (maxLine + 1) * fFontInfo->lineHeight;
1186 y = i * fFontInfo->lineHeight;
1188 FillRect(BRect(0.0, y, kLeftTextMargin, y + fFontInfo->lineHeight),
1213 y + fFontInfo->lineHeight - 1), B_SOLID_LOW);
1240 y = (maxLine + 1) * fFontInfo->lineHeight;
1655 selectionRect.top = fSelectionStart.line * fFontInfo->lineHeight;
1658 selectionRect.bottom = selectionRect.top + fFontInfo->lineHeight;
1665 selectionRect.top = fSelectionStart.line * fFontInfo->lineHeight;
1667 selectionRect.bottom = selectionRect.top + fFontInfo->lineHeight;
1674 * fFontInfo->lineHeight;
1676 selectionRect.bottom = fSelectionEnd.line * fFontInfo->lineHeight;
1683 selectionRect.top = fSelectionEnd.line * fFontInfo->lineHeight;
1686 selectionRect.bottom = selectionRect.top + fFontInfo->lineHeight;
1824 factor = (int)(ceilf(difference / fFontInfo->lineHeight));
1861 vertical->SetValue(value + fFontInfo->lineHeight * lineCount);
2046 fFontInfo.lineHeight = ceilf(fFontInfo.fontHeight.ascent)
2317 float top = (float)line * fFontInfo.lineHeight;
2318 float bottom = top + fFontInfo.lineHeight - 1;
2332 } else if (top - fFontInfo.lineHeight < visible.top)
2333 ScrollBy(0, top - fFontInfo.lineHeight - visible.top);
2334 else if (bottom + fFontInfo.lineHeight > visible.bottom)
2335 ScrollBy(0, bottom + fFontInfo.lineHeight - visible.bottom);
2451 scrollBar->SetSteps(fFontInfo.lineHeight, size.width + 1);
2464 scrollBar->SetSteps(fFontInfo.lineHeight, size.height + 1);