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

1234

/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp182 font_height fontHeight; local
183 GetFontHeight(&fontHeight);
184 return ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading);
/haiku/src/kits/interface/
H A DOptionPopUp.cpp289 font_height fontHeight; local
290 GetFontHeight(&fontHeight);
292 *_height = max_c(height, fontHeight.ascent + fontHeight.descent
293 + fontHeight.leading + kHeightModifier);
H A DSeparatorView.cpp249 font_height fontHeight; local
250 GetFontHeight(&fontHeight);
256 labelBounds.top + ceilf(fontHeight.ascent)));
259 + ceilf(fontHeight.ascent), labelBounds.bottom));
275 font_height fontHeight; local
276 GetFontHeight(&fontHeight);
277 height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
H A DBMCPrivate.cpp341 font_height fontHeight;
342 GetFontHeight(&fontHeight);
343 top = ceilf((Bounds().Height() - ceilf(fontHeight.ascent)
344 - ceilf(fontHeight.descent)) / 2) + 1;
H A DBox.cpp260 font_height fontHeight; local
261 GetFontHeight(&fontHeight);
264 float lineHeight = fontHeight.ascent + fontHeight.descent;
268 DrawString(fLabel, BPoint(10.0f, fontHeight.ascent - yOffset));
774 font_height fontHeight; local
775 GetFontHeight(&fontHeight);
777 ceilf(fontHeight.ascent));
778 labelHeight = ceilf(fontHeight.ascent + fontHeight
[all...]
/haiku/src/apps/debugger/user_interface/gui/team_settings_window/
H A DImageStopConfigView.cpp300 font_height fontHeight; local
301 be_plain_font->GetHeight(&fontHeight);
302 float minListHeight = 5 * (fontHeight.ascent + fontHeight.descent
303 + fontHeight.leading);
/haiku/src/apps/diskusage/
H A DInfoWindow.cpp130 float fontHeight = fh.ascent + fh.descent + fh.leading; local
144 float winHeight = 32.0 + 4.0 * kSmallVMargin + 5.0 * (fontHeight
172 y + fontHeight), NULL, (*i).first.c_str());
180 y + fontHeight), NULL, (*i).second.c_str());
184 y += fontHeight + kSmallVMargin;
/haiku/src/preferences/printers/
H A DJobListView.cpp186 font_height fontHeight; local
187 be_plain_font->GetHeight(&fontHeight);
188 float height = (fontHeight.ascent + fontHeight.descent
189 + fontHeight.leading) * 2.0;
/haiku/src/servers/notification/
H A DAppGroupView.cpp94 font_height fontHeight; local
95 GetFontHeight(&fontHeight);
96 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
97 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
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/apps/deskbar/
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 DTimeView.cpp194 font_height fontHeight; local
195 GetFontHeight(&fontHeight);
196 fHeight = fontHeight.ascent + fontHeight.descent - 2;
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h77 float fontHeight = height.ascent + height.descent; local
80 bitmapView->DrawString(text, BPoint(latchRect.Width(), fontHeight));
/haiku/src/add-ons/screen_savers/spider/
H A DSpiderView.cpp53 float fontHeight = fh.ascent + fh.descent + 5.0; local
54 frame.bottom = frame.top + fontHeight;
61 fontHeight = fh.ascent + fh.descent + 5.0;
63 frame.bottom = frame.top + fontHeight;
/haiku/src/servers/package/
H A DProblemWindow.cpp102 font_height fontHeight; local
103 topTextView->GetFontHeight(&fontHeight);
104 float smallStep = ceilf(fontHeight.ascent + fontHeight.descent);
/haiku/src/apps/webpositive/tabview/
H A DTabView.cpp205 font_height fontHeight; local
206 fContainerView->GetFontHeight(&fontHeight);
207 return ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/preferences/input/
H A DMouseView.cpp141 font_height fontHeight; local
142 GetFontHeight(&fontHeight);
143 fDigitHeight = int32(ceilf(fontHeight.ascent) + ceilf(fontHeight.descent));
144 fDigitBaseline = int32(ceilf(fontHeight.ascent));
/haiku/src/preferences/filetypes/
H A DFileTypesWindow.cpp178 font_height fontHeight; local
179 GetFontHeight(&fontHeight);
182 float y = fontHeight.ascent;
185 y += (bitmapRect.Height() - fontHeight.ascent - fontHeight.descent) / 2.0f;
210 font_height fontHeight; local
211 GetFontHeight(&fontHeight);
213 *_height = bitmapRect.Height() + 3.0f + ceilf(fontHeight.ascent
214 + fontHeight.descent);
226 font_height fontHeight; local
[all...]
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.cpp224 font_height fontHeight; local
225 fDrawState.Font().GetHeight(fontHeight);
227 float tabSize = ceilf(fontHeight.ascent + fontHeight.descent + 4.0);
378 font_height fontHeight; local
379 fDrawState.Font().GetHeight(fontHeight);
384 + fontHeight.ascent + fontHeight.descent) / 2.0
385 - fontHeight.descent + 0.5);
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowSaver.cpp472 font_height fontHeight; local
477 font.GetHeight(&fontHeight);
478 height = fontHeight.ascent + fontHeight.descent;
482 pos.y = bounds.bottom - fontHeight.descent - 5;
487 rect.OffsetBy(-1, -1-fontHeight.ascent); // -1 for border
/haiku/src/kits/shared/
H A DDateTimeEdit.cpp384 font_height fontHeight; local
385 GetFontHeight(&fontHeight);
386 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.4);
747 font_height fontHeight; local
748 GetFontHeight(&fontHeight);
749 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.4);
/haiku/src/kits/tracker/infowindow/
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/bin/desklink/
H A DVolumeControl.cpp48 font_height fontHeight; local
49 GetFontHeight(&fontHeight);
50 SetBarThickness(ceilf((fontHeight.ascent + fontHeight.descent) * 0.7));
/haiku/src/apps/soundrecorder/
H A DRecorderWindow.cpp396 float fontHeight = height.ascent + height.leading + height.descent; local
400 r.top = fontHeight + 6;
401 r.bottom = r.top + fontHeight + 3;
408 r.top += fontHeight;
409 r.bottom = r.top + fontHeight + 3;
415 r.top += fontHeight;
416 r.bottom = r.top + fontHeight + 3;
423 r.top += fontHeight;
424 r.bottom = r.top + fontHeight + 3;
430 r.top += fontHeight;
[all...]
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DFolderConfigWindow.cpp136 font_height fontHeight; local
137 owner->GetFontHeight(&fontHeight);
138 BRect boxRect(0.0f, 2.0f, ceilf(3.0f + fontHeight.ascent),
139 ceilf(5.0f + fontHeight.ascent));

Completed in 128 milliseconds

1234