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

1234

/haiku/src/kits/shared/
H A DStatusView.cpp19 font_height fontHeight; local
28 testFont.GetHeight(&fontHeight);
29 currentSize = fontHeight.ascent + fontHeight.descent;
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp23 font_height fontHeight; local
24 view->GetFontHeight(&fontHeight);
54 + (rect.Height() - (fontHeight.ascent + fontHeight.descent
55 + fontHeight.leading)) / 2
56 + (fontHeight.ascent + fontHeight.descent) - 2;
/haiku/src/preferences/time/
H A DTZDisplay.cpp60 float fontHeight = ceilf(height.descent + height.ascent + local
66 pt.y += fontHeight;
69 pt.y -= fontHeight;
153 font_height fontHeight; local
154 GetFontHeight(&fontHeight);
157 size.height = 2 * ceilf(fontHeight.ascent + fontHeight.descent +
158 fontHeight.leading);
/haiku/src/apps/haikudepot/ui_generic/
H A DLinkView.cpp63 font_height fontHeight; local
64 GetFontHeight(&fontHeight);
68 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
69 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
/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);
/haiku/src/tests/servers/app/workspace_activated/
H A DWorkspaceActivated.cpp60 font_height fontHeight; local
61 font.GetHeight(&fontHeight);
64 MovePenTo(20, ceilf(20 + fontHeight.ascent));
/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp60 font_height fontHeight; local
61 font.GetHeight(&fontHeight);
62 fTitleAscent = ceilf(fontHeight.ascent);
63 fTitleDescent = ceilf(fontHeight.descent + fontHeight.leading);
/haiku/src/apps/mediaplayer/interface/
H A DDurationView.cpp67 font_height fontHeight; local
68 GetFontHeight(&fontHeight);
69 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/kits/tracker/
H A DDialogPane.cpp102 font_height fontHeight; local
103 GetFontHeight(&fontHeight);
105 - ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2
106 + ceilf(fontHeight.ascent);
212 font_height fontHeight; local
213 GetFontHeight(&fontHeight);
214 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
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/apps/stylededit/
H A DStatusView.cpp143 font_height fontHeight; local
144 GetFontHeight(&fontHeight);
148 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
266 font_height fontHeight; local
267 GetFontHeight(&fontHeight);
269 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
270 + fontHeight.leading);
/haiku/src/kits/interface/
H A DCheckBox.cpp36 font_height fontHeight; local
37 GetFontHeight(&fontHeight);
38 float minHeight = (float)ceil(6.0f + fontHeight.ascent
39 + fontHeight.descent);
497 BCheckBox::_CheckBoxFrame(const font_height& fontHeight) const
499 return BRect(0.0f, 2.0f, ceilf(3.0f + fontHeight.ascent),
500 ceilf(5.0f + fontHeight.ascent));
507 font_height fontHeight; local
508 GetFontHeight(&fontHeight);
509 return _CheckBoxFrame(fontHeight);
517 font_height fontHeight; local
[all...]
H A DRadioButton.cpp89 font_height fontHeight; local
90 GetFontHeight(&fontHeight);
98 BRect knobRect(_KnobFrame(fontHeight));
250 font_height fontHeight; local
251 GetFontHeight(&fontHeight);
253 BRect rect(_KnobFrame(fontHeight));
268 ceilf(6.0f + fontHeight.ascent + fontHeight.descent));
512 font_height fontHeight; local
513 GetFontHeight(&fontHeight);
[all...]
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 DStringView.cpp272 font_height fontHeight; local
273 GetFontHeight(&fontHeight);
292 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.descent))
293 - ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading)
591 font_height fontHeight; local
592 GetFontHeight(&fontHeight);
601 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight
[all...]
H A DSlider.cpp981 font_height fontHeight; local
982 GetFontHeight(&fontHeight);
986 BPoint(0.0f, ceilf(fontHeight.ascent)));
993 ceilf(fontHeight.ascent)));
998 BPoint(0.0f, bounds.bottom - fontHeight.descent));
1004 bounds.bottom - fontHeight.descent));
1007 float lineHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent)
1008 + ceilf(fontHeight.leading);
1009 float baseLine = ceilf(fontHeight
1071 font_height fontHeight; local
1104 font_height fontHeight; local
1175 font_height fontHeight; local
1673 font_height fontHeight; local
[all...]
/haiku/src/preferences/screen/
H A DMonitorView.cpp106 font_height fontHeight;
107 GetFontHeight(&fontHeight);
108 float height = ceilf(fontHeight.ascent + fontHeight.descent);
121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
/haiku/src/apps/switcher/
H A DWindowsView.cpp159 font_height fontHeight; local
160 owner->GetFontHeight(&fontHeight);
163 2 + (int32)ceilf(fontHeight.ascent + fontHeight.leading / 2));
165 SetHeight((int32)ceilf(fontHeight.ascent)
166 + (int32)ceilf(fontHeight.descent)
167 + (int32)ceilf(fontHeight.leading) + 4);
/haiku/src/tests/servers/app/avoid_focus/
H A DAvoidFocus.cpp115 font_height fontHeight; local
116 font.GetHeight(&fontHeight);
119 MovePenTo(20, ceilf(20 + fontHeight.ascent));
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.h40 font_height fontHeight; member in struct:MainWindow::SchedulingPage::FontInfo
/haiku/src/servers/package/
H A DResultWindow.cpp72 font_height fontHeight; local
73 topTextView->GetFontHeight(&fontHeight);
74 float smallStep = ceilf(fontHeight.ascent + fontHeight.descent);
/haiku/src/apps/haikudepot/ui/
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/apps/haikudepot/textview/
H A DCharacterStyleData.cpp134 font_height fontHeight;
135 fFont.GetHeight(&fontHeight);
136 return fontHeight.ascent;
161 font_height fontHeight;
162 fFont.GetHeight(&fontHeight);
163 return fontHeight.descent;
/haiku/src/apps/charactermap/
H A DCharacterView.cpp318 font_height fontHeight; local
319 menu->GetFontHeight(&fontHeight);
322 box.bottom -= (box.Height() - fontHeight.ascent
323 + fontHeight.descent) / 2;
655 font_height fontHeight; local
656 GetFontHeight(&fontHeight);
657 fTitleHeight = (int32)ceilf(fontHeight.ascent + fontHeight.descent
658 + fontHeight.leading) + 2;
659 fTitleBase = (int32)ceilf(fontHeight
[all...]
/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp262 font_height fontHeight; local
263 font.GetHeight(&fontHeight);
264 float lineHeight = fontHeight.ascent + fontHeight.descent
265 + fontHeight.leading;
283 start.y += 10 + fontHeight.ascent + fontHeight.leading;

Completed in 164 milliseconds

1234