Searched refs:lineHeight (Results 1 - 14 of 14) sorted by relevance

/haiku-fatelf/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.h41 float lineHeight; member in struct:MainWindow::SchedulingPage::FontInfo
H A DSchedulingPage.cpp307 return fFontInfo.lineHeight * CountLines();
312 int32 line = (int32)point.y / (int32)fFontInfo.lineHeight;
318 int32 lineHeight = (int32)fFontInfo.lineHeight; local
319 minLine = (int32)rect.top / lineHeight;
320 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
327 float y = (float)line * fFontInfo.lineHeight;
328 return BRect(0, y, Bounds().right, y + fFontInfo.lineHeight - 1);
529 float top = (float)index * fFontInfo.lineHeight;
[all...]
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp363 float height = LineCount() * fFontInfo->lineHeight - 1;
375 int32 line = (int32)yOffset / (int32)fFontInfo->lineHeight;
384 int32 lineHeight = (int32)fFontInfo->lineHeight; local
385 minLine = (int32)rect.top / lineHeight;
386 maxLine = ((int32)ceilf(rect.bottom) + lineHeight - 1) / lineHeight;
395 float y = (float)line * fFontInfo->lineHeight;
396 return BRect(0, y, Bounds().right, y + fFontInfo->lineHeight - 1);
897 float y = ((float)line + 0.5f) * fFontInfo->lineHeight;
[all...]
H A DSourceView.h65 float lineHeight; member in struct:SourceView::FontInfo
/haiku-fatelf/src/add-ons/input_server/methods/canna/
H A DKouhoWindow.h50 float lineHeight; member in class:KouhoIndexView
H A DKouhoWindow.cpp329 lineHeight = fontheight;
332 if (indexfontheight < lineHeight)
333 fontOffset = (int32)((lineHeight - indexfontheight) / 2 + 1.5);
334 //printf("line height=%f, index font height=%f, offset=%d\n", lineHeight, indexfontheight, fontOffset);
344 MovePenTo(INDEXVIEW_SIDE_MARGIN + 2, lineHeight * i - fontOffset);
/haiku-fatelf/src/tests/kits/net/preflet/InterfacesAddOn/
H A DInterfacesListView.cpp83 float lineHeight = ceilf(height.ascent) + ceilf(height.descent) local
87 fSecondlineOffset = fFirstlineOffset + lineHeight;
88 fThirdlineOffset = fFirstlineOffset + (lineHeight * 2);
90 SetHeight(3 * lineHeight + 4);
/haiku-fatelf/src/apps/bootmanager/
H A DDrivesPage.cpp181 float lineHeight = ceilf(fheight.ascent) + ceilf(fheight.descent) local
185 fSecondBaselineOffset = fBaselineOffset + lineHeight;
187 SetHeight(2 * lineHeight + 4);
/haiku-fatelf/src/add-ons/screen_savers/message/
H A DMessage.cpp258 float lineHeight = fontHeight.ascent + fontHeight.descent + fontHeight.leading; local
265 BRect box(0, 0, stringWidth + 20, (lineHeight * count) + 20);
278 start.y += lineHeight;
/haiku-fatelf/src/kits/tracker/
H A DInfoWindow.cpp918 float lineHeight = CurrentFontHeight(); local
921 fTitleRect.bottom + (lineHeight * 7),
922 Bounds().Width() - 5, fTitleRect.bottom + (lineHeight * 8));
1652 float lineHeight = CurrentFontHeight() + 2; local
1654 fIconRect.bottom + lineHeight);
1727 float lineHeight = 0; local
1735 lineHeight = CurrentFontHeight() + 5;
1758 lineHeight = CurrentFontHeight() + 5;
1761 lineBase = fTitleRect.bottom + lineHeight;
1793 lineBase += lineHeight;
2240 float lineHeight = CurrentFontHeight(kAttribFontHeight) + 6; local
[all...]
/haiku-fatelf/src/preferences/media/
H A DMediaListItem.cpp110 float lineHeight = fontInfo.ascent + fontInfo.descent local
114 + ((frame.Height() - (lineHeight)) / 2)
/haiku-fatelf/src/kits/interface/
H A DTextView.cpp2140 float lineHeight = TextHeight(lineNum, lineNum); local
2141 if (lineHeight == 0.0) {
2152 lineHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 1;
2154 return lineHeight;
2266 float lineHeight = 0.0; local
2269 BPoint point = PointAt(inOffset, &lineHeight);
2283 else if (point.y + lineHeight > bounds.bottom
2284 && point.y - lineHeight > bounds.top) {
2285 yDiff = point.y + lineHeight - bounds.bottom;
2951 float lineHeight local
3713 float lineHeight; local
4622 float lineHeight; local
[all...]
H A DSlider.cpp1189 float lineHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent) local
1202 baseLine += lineHeight;
1227 baseLine -= lineHeight;
1277 float lineHeight = height + ceilf(fontHeight.leading); local
1286 invalid.bottom -= lineHeight;
2135 float lineHeight = lineHeightNoLeading + ceilf(fontHeight.leading); local
2145 height += Label() ? lineHeight : lineHeightNoLeading;
2153 height += MinLimitLabel() ? lineHeight : lineHeightNoLeading;
/haiku-fatelf/src/apps/cortex/TransportView/
H A DTransportView.cpp1284 float lineHeight = fh.ascent + fh.descent + fh.leading; local
1292 float row3_y = row2_y + lineHeight + _control_pad_y;
1293 // float row4_y = row3_y + lineHeight + _control_pad_y + _transport_pad_y;
1294 // float row5_y = row4_y + lineHeight + _control_pad_y;
1295 float viewHeight = row3_y + lineHeight + _control_pad_y + _edge_pad_y;
1324 columnWidth, lineHeight);
1333 columnWidth, lineHeight);
1340 // float regionControlHeight = lineHeight + 4.0;

Completed in 133 milliseconds