Searched refs:fontHeight (Results 76 - 97 of 97) sorted by relevance

1234

/haiku/src/apps/deskbar/
H A DBarView.cpp1271 font_height fontHeight; local
1273 fExpandoMenuBar->GetFontHeight(&fontHeight);
1275 GetFontHeight(&fontHeight);
1277 float labelHeight = fontHeight.ascent + fontHeight.descent;
H A DSwitcher.cpp2369 font_height fontHeight; local
2370 GetFontHeight(&fontHeight);
2371 float textHeight = fontHeight.ascent + fontHeight.descent;
/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);
/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/packageinstaller/
H A DPackageView.cpp476 float fontHeight = be_plain_font->Size(); local
480 "package description", fontHeight * 13);
499 "install type description", fontHeight * 4);
/haiku/src/apps/diskprobe/
H A DDataView.cpp1377 font_height fontHeight; local
1378 font->GetHeight(&fontHeight);
1380 fFontHeight = int32(fontHeight.ascent + fontHeight.descent
1381 + fontHeight.leading);
1382 fAscent = fontHeight.ascent;
H A DProbeView.cpp862 font_height fontHeight; local
863 Menu()->GetFontHeight(&fontHeight);
868 point.y += fontHeight.ascent;
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp682 font_height fontHeight; local
683 fDrawState.Font().GetHeight(fontHeight);
690 + fontHeight.ascent + fontHeight.descent) / 2.0
691 - fontHeight.descent + 0.5);
694 + fontHeight.ascent + fontHeight.descent) / 2.0
695 - fontHeight.descent + 0.5);
/haiku/src/apps/debuganalyzer/gui/
H A DHeaderView.cpp72 font_height fontHeight; local
73 view->GetFontHeight(&fontHeight);
74 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.2f) + 2.0f;
/haiku/src/kits/interface/
H A DColorControl.cpp129 font_height fontHeight; local
130 GetFontHeight(&fontHeight);
131 float labelHeight = fontHeight.ascent + fontHeight.descent;
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 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));
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp748 font_height fontHeight; local
749 fRegularFont.GetHeight(&fontHeight);
750 fPackageItemLineHeight = fontHeight.ascent + fontHeight.descent
751 + fontHeight.leading;
/haiku/src/apps/showimage/
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/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/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp589 float y = lineRect.bottom - fFontInfo.fontHeight.descent + 1;
1758 be_plain_font->GetHeight(&fFontInfo.fontHeight);
1759 fFontInfo.lineHeight = ceilf(fFontInfo.fontHeight.ascent)
1760 + ceilf(fFontInfo.fontHeight.descent);
/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/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp218 font_height fontHeight; local
219 fDrawState.Font().GetHeight(fontHeight);
/haiku/src/apps/installer/
H A DInstallerWindow.cpp202 float fontHeight = height.ascent + height.descent + height.leading; local
204 fontHeight * 5 + 8));
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp1219 BPoint linePoint(kLeftTextMargin, y + fFontInfo->fontHeight.ascent);
2045 fFontInfo.font.GetHeight(&fFontInfo.fontHeight);
2046 fFontInfo.lineHeight = ceilf(fFontInfo.fontHeight.ascent)
2047 + ceilf(fFontInfo.fontHeight.descent);
/haiku/src/kits/shared/
H A DCalendarView.cpp830 font_height fontHeight; local
831 font.GetHeight(&fontHeight);
/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);

Completed in 210 milliseconds

1234