Searched refs:ascent (Results 1 - 25 of 185) sorted by last modified time

12345678

/haiku/src/apps/charactermap/
H A DCharacterView.cpp327 box.bottom -= (box.Height() - fontHeight.ascent
662 fTitleHeight = (int32)ceilf(fontHeight.ascent + fontHeight.descent
664 fTitleBase = (int32)ceilf(fontHeight.ascent);
675 fCharacterHeight = (int32)ceilf(fontHeight.ascent + fontHeight.descent
677 fCharacterBase = (int32)ceilf(fontHeight.ascent);
/haiku/src/servers/app/font/
H A DFontStyle.cpp50 fHeight.ascent = (double)face->ascender / face->units_per_EM;
68 fHeight.ascent = (double)metrics.ascender / size;
128 height.ascent = fHeight.ascent * size;
/haiku/src/preferences/screen/
H A DScreenWindow.cpp349 itemRect.bottom = fontHeight.ascent + fontHeight.descent + 4;
H A DMonitorView.cpp108 float height = ceilf(fontHeight.ascent + fontHeight.descent);
121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
/haiku/src/apps/stylededit/
H A DStatusView.cpp148 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
268 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
/haiku/src/apps/installer/
H A DInstallerWindow.cpp202 float fontHeight = height.ascent + height.descent + height.leading;
/haiku/src/apps/drivesetup/
H A DDiskView.cpp212 textOffset.y += ceilf(fh.ascent);
216 textOffset.x += ceilf(fh.ascent);
540 messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0,
541 (bounds.Height() - (fh.ascent + fh.descent) * 2) / 2.0);
552 textOffset.x = messageBounds.left + fh.ascent;
554 - fh.ascent - fh.descent) / 2 + fh.ascent;
/haiku/src/apps/diskprobe/
H A DProbeView.cpp868 point.y += fontHeight.ascent;
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1046 return ceilf(((boldFH.ascent + boldFH.descent) * kLabelCount
1047 + (plainFH.ascent + plainFH.descent) * kSubtextCount
/haiku/src/kits/interface/
H A DColumnTypes.cpp75 y = rect.top + finfo.ascent
76 + (rect.Height() - ceilf(finfo.ascent + finfo.descent)) / 2.0f;
H A DFont.cpp371 font->fHeight.ascent = kUninitializedAscent;
517 fHeight.ascent = 7.0;
563 fHeight.ascent = kUninitializedAscent;
599 fHeight.ascent = kUninitializedAscent;
628 fHeight.ascent = kUninitializedAscent;
639 fHeight.ascent = kUninitializedAscent;
647 fHeight.ascent = kUninitializedAscent;
655 fHeight.ascent = kUninitializedAscent;
1181 if (fHeight.ascent == kUninitializedAscent) {
1430 fHeight.ascent, fHeigh
[all...]
H A DHaikuControlLook.cpp2361 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
2380 alignedRect.top + ceilf(fontHeight.ascent));
H A DStatusBar.cpp213 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 6;
306 float baseLine = ceilf(fontHeight.ascent) + 1;
581 const_cast<BStatusBar *>(this)->fBarHeight = fontHeight.ascent
760 // ceilf(fontHeight.ascent) + ceilf(fontHeight.descent)));
765 ceilf(fontHeight.ascent) + ceilf(fontHeight.descent)));
780 top = ceilf(height.ascent + height.descent) + 6;
782 top = ceilf(fontHeight->ascent + fontHeight->descent) + 6;
H A DMenu.cpp2707 frame.Set(0.0f, 0.0f, 0.0f, ceilf(fh.ascent + fh.descent + fPad.top
3018 fAscent = fh.ascent;
3020 fFontHeight = ceilf(fh.ascent + fh.descent + fh.leading);
/haiku/src/kits/tracker/
H A DFilePanelPriv.cpp699 const float f_height = ht.ascent + ht.descent + ht.leading;
H A DUtilities.cpp920 ContentLocation().y + finfo.ascent);
H A DPoseView.cpp1003 sFontHeight = sFontInfo.ascent + sFontInfo.descent
H A DTitleView.cpp483 float baseline = floor(bounds.top + fontHeight.ascent
484 + (bounds.Height() + 1 - (fontHeight.ascent + fontHeight.descent)) / 2);
H A DDraggableContainerIcon.cpp124 float height = ceilf(fontHeight.ascent + fontHeight.descent
167 + (fontHeight.ascent + 2)));
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp111 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
221 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
/haiku/headers/os/interface/
H A DFont.h139 float ascent; member in struct:font_height
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp319 float baseLine = ceilf(fontHeight.ascent);
324 float textHeight = ceilf(fontHeight.descent + fontHeight.ascent);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp436 float plainHeight = plainFontHeight.ascent + plainFontHeight.descent;
2225 fItemHeight = (int32) fh.ascent + fh.descent;
2371 float textHeight = fontHeight.ascent + fontHeight.descent;
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp2364 float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
2382 alignedRect.top + ceilf(fontHeight.ascent));
/haiku/src/servers/notification/
H A DNotificationView.cpp468 + ceilf(fh.ascent);
484 + ceilf(fh.ascent);
584 float fontHeight = fh.ascent + fh.descent + fh.leading;

Completed in 156 milliseconds

12345678