Searched refs:ascent (Results 76 - 100 of 185) sorted by relevance

12345678

/haiku/src/preferences/filetypes/
H A DFileTypesWindow.cpp182 float y = fontHeight.ascent;
185 y += (bitmapRect.Height() - fontHeight.ascent - fontHeight.descent) / 2.0f;
213 *_height = bitmapRect.Height() + 3.0f + ceilf(fontHeight.ascent
230 float height = ceilf(fontHeight.ascent + fontHeight.descent) + 6.0f;
232 float y = ceilf((bitmapRect.Height() - fontHeight.ascent - fontHeight.descent)
269 fMinSize.height = (height.ascent + height.descent + height.leading) * 3;
H A DMimeTypeListView.cpp142 fBaselineOffset = fontHeight.ascent
143 + (Height() - ceilf(fontHeight.ascent + fontHeight.descent)) / 2.0f;
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp125 float height = ceilf(fontHeight.ascent + fontHeight.descent);
850 fSizeRect.top = lineBase - fontMetrics.ascent;
925 fPathRect.top = lineBase - fontMetrics.ascent;
952 fLinkRect.top = lineBase - fontMetrics.ascent;
993 fDescRect.top = lineBase - fontMetrics.ascent;
1056 return fontHeight.ascent + fontHeight.descent + fontHeight.leading + 2;
H A DHeaderView.cpp97 fTitleRect.bottom = fontMetrics.ascent + 1;
453 fIconRect.Height() + (fontHeight.ascent + 2)));
680 return fontHeight.ascent + fontHeight.descent + fontHeight.leading + 2;
/haiku/src/kits/interface/
H A DTextView.cpp2042 lineHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 1;
3874 float ascent, descent; local
3876 int32 toOffset = _FindLineBreak(fromOffset, &ascent, &descent, &width);
3878 curLine->ascent = ascent;
3892 newLine.origin = ceilf(curLine->origin + ascent + descent) + 1;
3893 newLine.ascent = 0;
3898 nextLine->origin = ceilf(curLine->origin + ascent + descent) + 1;
4001 *_ascent = fh.ascent;
4027 float ascent local
4256 float ascent = 0.0; local
4313 float ascent = 0.0; local
[all...]
H A DMenuItem.cpp764 const float ascent = MenuPrivate(fSuper).Ascent(); local
767 _DrawControlChar(fShortcutChar, where + BPoint(0, ascent));
769 fSuper->DrawChar(fShortcutChar, where + BPoint(0, ascent));
H A DStringView.cpp293 - ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading)
601 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
H A DOptionPopUp.cpp292 *_height = max_c(height, fontHeight.ascent + fontHeight.descent
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp119 *height = (fh.ascent+fh.descent+fh.leading) * 2;
190 m_namePosition.y - fh.ascent,
192 m_namePosition.y + (fh.ascent+fh.leading-4.0));
231 m_namePosition.y = _edge_pad_x + fh.ascent - 2.0;
1300 float lineHeight = fh.ascent + fh.descent + fh.leading;
/haiku/src/apps/serialconnect/
H A DTermView.cpp73 int y = pos.row * fFontHeight + (int)ceil(height.ascent)
125 FillRect(BRect(x, y - ceil(height.ascent) + 1,
333 fFontHeight = (int)(ceilf(height.ascent) + ceilf(height.descent)
/haiku/src/servers/notification/
H A DNotificationView.cpp468 + ceilf(fh.ascent);
484 + ceilf(fh.ascent);
584 float fontHeight = fh.ascent + fh.descent + fh.leading;
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowSaver.cpp478 height = fontHeight.ascent + fontHeight.descent;
487 rect.OffsetBy(-1, -1-fontHeight.ascent); // -1 for border
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp329 height = 2.0 + ceilf(fh.ascent + fh.descent) + 2.0;
373 (r.top + r.bottom) / 2.0 + fh.ascent / 2.0);
/haiku/src/apps/mediaplayer/interface/
H A DPeakView.cpp238 minHeight += ceilf(fh.ascent + fh.descent);
317 frame.bottom -= ceilf(fFontHeight.ascent + fFontHeight.descent);
/haiku/src/preferences/printers/
H A DPrinterListView.cpp356 SetHeight((height.ascent + height.descent + height.leading) * 3.0 + 8.0);
388 float fntheight = height.ascent + height.descent + height.leading;
/haiku/src/preferences/media/
H A DMediaListItem.cpp115 + fontInfo.ascent + (frame.Height()
116 - ceilf(fontInfo.ascent + fontInfo.descent)) / 2.0f);
/haiku/src/apps/mail/
H A DEnclosures.cpp509 - (finfo.ascent + finfo.descent + finfo.leading)) / 2)
510 + finfo.ascent);
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp322 origin.y += height.ascent;
331 origin.y += height.ascent + height.descent + height.leading;
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconOptionsControl.cpp142 p.y += floorf(Bounds().Height() / 2.0 + (fh.ascent + fh.descent) / 2.0) - 2.0;
/haiku/src/tests/kits/interface/menu/menuworld/
H A DMenuWindow.cpp93 top + plainHeight.ascent + plainHeight.descent + plainHeight.leading + 4);
/haiku/src/kits/tracker/
H A DTrackerSettingsWindow.cpp355 rect.top + fheight.ascent + 2 + floorf(fheight.leading / 2)));
/haiku/src/apps/debugger/user_interface/gui/team_settings_window/
H A DImageStopConfigView.cpp302 float minListHeight = 5 * (fontHeight.ascent + fontHeight.descent
/haiku/src/apps/diskusage/
H A DInfoWindow.cpp130 float fontHeight = fh.ascent + fh.descent + fh.leading;
/haiku/src/servers/package/
H A DProblemWindow.cpp104 float smallStep = ceilf(fontHeight.ascent + fontHeight.descent);
/haiku/src/apps/fontdemo/
H A DFontDemoView.cpp102 float yCoord = (rect.Height() + fh.ascent - fh.descent) / 2;

Completed in 144 milliseconds

12345678