Searched refs:fontHeight (Results 1 - 25 of 97) sorted by last modified time

1234

/haiku/src/preferences/screen/
H A DScreenWindow.cpp344 font_height fontHeight; local
347 menuFont.GetHeight(&fontHeight);
349 itemRect.bottom = fontHeight.ascent + fontHeight.descent + 4;
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp106 font_height fontHeight; local
107 GetFontHeight(&fontHeight);
111 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
218 font_height fontHeight; local
219 GetFontHeight(&fontHeight);
221 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
222 + fontHeight.leading);
H A DShowImageView.cpp630 font_height fontHeight; local
635 font.GetHeight(&fontHeight);
636 height = fontHeight.ascent + fontHeight.descent;
640 pos.y = bounds.bottom - fontHeight.descent - 7;
645 rect.OffsetBy(-2, -2 - fontHeight.ascent); // -2 for border
/haiku/src/apps/terminal/
H A DTermWindow.cpp1750 float fontWidth, fontHeight; local
1751 view->GetFontSize(&fontWidth, &fontHeight);
1761 minimumHeight + MIN_ROWS * fontHeight - 1,
1762 minimumHeight + MAX_ROWS * fontHeight - 1);
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp2359 font_height fontHeight; local
2360 font.GetHeight(&fontHeight);
2361 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
2380 alignedRect.top + ceilf(fontHeight.ascent));
H A DStatusBar.cpp211 font_height fontHeight; local
212 GetFontHeight(&fontHeight);
213 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 6;
283 font_height fontHeight; local
284 GetFontHeight(&fontHeight);
285 BRect barFrame = _BarFrame(&fontHeight);
306 float baseLine = ceilf(fontHeight.ascent) + 1;
579 font_height fontHeight; local
580 GetFontHeight(&fontHeight);
756 font_height fontHeight; local
[all...]
H A DTextView.cpp2039 font_height fontHeight; local
2040 font->GetHeight(&fontHeight);
2042 lineHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 1;
5913 font_height fontHeight; local
5914 font->GetHeight(&fontHeight);
5915 return ceilf(fontHeight.ascent + fontHeight.descent + 1);
H A DColorControl.cpp129 font_height fontHeight; local
130 GetFontHeight(&fontHeight);
131 float labelHeight = fontHeight.ascent + fontHeight.descent;
H A DAbstractSpinner.cpp1448 font_height& fontHeight = fLayoutData->font_info; local
1450 + roundf((rect.Height() + 1.0f - fontHeight.ascent
1451 - fontHeight.descent) / 2.0f)
1452 + fontHeight.ascent;
1624 font_height& fontHeight = fLayoutData->font_info;
1625 GetFontHeight(&fontHeight);
1629 fLayoutData->label_height = ceilf(fontHeight.ascent
1630 + fontHeight.descent + fontHeight.leading);
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp317 font_height fontHeight; local
318 view->GetFontHeight(&fontHeight);
319 float baseLine = ceilf(fontHeight.ascent);
324 float textHeight = ceilf(fontHeight.descent + fontHeight.ascent);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2369 font_height fontHeight; local
2370 GetFontHeight(&fontHeight);
2371 float textHeight = fontHeight.ascent + fontHeight.descent;
H A DWindowMenuItem.cpp282 font_height fontHeight; local
283 font.GetHeight(&fontHeight);
284 fLabelAscent = ceilf(fontHeight.ascent);
285 fLabelDescent = ceilf(fontHeight.descent + fontHeight.leading);
H A DTeamMenuItem.cpp522 font_height fontHeight; local
523 font.GetHeight(&fontHeight);
524 fLabelAscent = ceilf(fontHeight.ascent);
525 fLabelDescent = ceilf(fontHeight.descent + fontHeight.leading);
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp2362 font_height fontHeight; local
2363 font.GetHeight(&fontHeight);
2364 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
2382 alignedRect.top + ceilf(fontHeight.ascent));
2389 float y = location.y + ceilf(fontHeight.descent);
/haiku/src/apps/installer/
H A DInstallerWindow.cpp202 float fontHeight = height.ascent + height.descent + height.leading; local
204 fontHeight * 5 + 8));
/haiku/src/servers/notification/
H A DNotificationView.cpp467 float fontHeight = ceilf(fh.leading) + ceilf(fh.descent) local
469 float y = fontHeight + kEdgePadding * 2;
479 y += fontHeight;
483 fontHeight = ceilf(fh.leading) + ceilf(fh.descent)
510 y += fontHeight;
522 line->location.y += fontHeight;
523 y += fontHeight;
584 float fontHeight = fh.ascent + fh.descent + fh.leading; local
586 + fontHeight * 2;
/haiku/src/kits/tracker/
H A DTitleView.cpp480 font_height fontHeight; local
481 view->GetFontHeight(&fontHeight);
483 float baseline = floor(bounds.top + fontHeight.ascent
484 + (bounds.Height() + 1 - (fontHeight.ascent + fontHeight.descent)) / 2);
H A DDraggableContainerIcon.cpp122 font_height fontHeight; local
123 font.GetHeight(&fontHeight);
124 float height = ceilf(fontHeight.ascent + fontHeight.descent
125 + fontHeight.leading + 2 + Bounds().Height() + 8);
167 + (fontHeight.ascent + 2)));
/haiku/src/servers/app/
H A DWorkspacesView.cpp266 font_height fontHeight; local
267 font.GetHeight(fontHeight);
268 float height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
279 + fontHeight.ascent);
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp140 font_height fontHeight; local
141 fBaseFont.GetHeight(&fontHeight);
142 fBaseFontHeight = fontHeight.ascent + fontHeight.descent;
843 font_height fontHeight; local
844 GetFontHeight(&fontHeight);
845 if (ceilf(rect.top - fontHeight.ascent + fontHeight.descent - 2)
855 ceilf(rect.top - fontHeight.descent - 2)));
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp493 font_height fontHeight; local
494 parent->GetFontHeight(&fontHeight);
496 - (fontHeight.ascent + fontHeight.descent)) / 2
497 + fontHeight.ascent;
774 font_height fontHeight; local
775 GetFontHeight(&fontHeight);
783 - (fontHeight.ascent + fontHeight.descent)) / 2.0f
784 + fontHeight
[all...]
H A DUserUsageConditionsWindow.cpp67 font_height fontHeight; local
68 be_plain_font->GetHeight(&fontHeight);
69 const float lineHeight = fontHeight.ascent + fontHeight.descent;
110 font_height fontHeight; local
111 be_plain_font->GetHeight(&fontHeight);
112 const float lineHeight = fontHeight.ascent + fontHeight.descent;
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp123 font_height fontHeight; local
124 be_plain_font->GetHeight(&fontHeight);
125 float height = ceilf(fontHeight.ascent + fontHeight.descent);
1053 font_height fontHeight; local
1054 font.GetHeight(&fontHeight);
1056 return fontHeight.ascent + fontHeight.descent + fontHeight.leading + 2;
1146 font_height fontHeight; local
[all...]
H A DHeaderView.cpp448 font_height fontHeight; local
449 font.GetHeight(&fontHeight);
453 fIconRect.Height() + (fontHeight.ascent + 2)));
677 font_height fontHeight; local
678 font.GetHeight(&fontHeight);
680 return fontHeight.ascent + fontHeight.descent + fontHeight.leading + 2;
/haiku/src/apps/diskprobe/
H A DProbeView.cpp862 font_height fontHeight; local
863 Menu()->GetFontHeight(&fontHeight);
868 point.y += fontHeight.ascent;

Completed in 525 milliseconds

1234