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

1234

/haiku-fatelf/src/add-ons/translators/bmp/
H A DBMPView.cpp32 font_height fontHeight; local
33 be_bold_font->GetHeight(&fontHeight);
34 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
59 GetFontHeight(&fontHeight);
60 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/add-ons/translators/hpgs/
H A DConfigView.cpp27 font_height fontHeight; local
28 be_bold_font->GetHeight(&fontHeight);
29 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
49 GetFontHeight(&fontHeight);
50 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/add-ons/translators/pcx/
H A DConfigView.cpp28 font_height fontHeight; local
29 be_bold_font->GetHeight(&fontHeight);
30 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
50 GetFontHeight(&fontHeight);
51 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/add-ons/translators/rtf/
H A DConfigView.cpp24 font_height fontHeight; local
25 be_bold_font->GetHeight(&fontHeight);
26 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
51 GetFontHeight(&fontHeight);
52 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/add-ons/translators/stxt/
H A DSTXTView.cpp33 font_height fontHeight; local
34 be_bold_font->GetHeight(&fontHeight);
35 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
60 GetFontHeight(&fontHeight);
61 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp22 font_height fontHeight; local
23 view->GetFontHeight(&fontHeight);
53 + (rect.Height() - (fontHeight.ascent + fontHeight.descent
54 + fontHeight.leading)) / 2
55 + (fontHeight.ascent + fontHeight.descent) - 2;
/haiku-fatelf/src/preferences/time/
H A DTZDisplay.cpp61 float fontHeight = ceilf(height.descent + height.ascent + local
67 pt.y += fontHeight;
70 pt.y -= fontHeight;
154 font_height fontHeight; local
155 GetFontHeight(&fontHeight);
158 size.height = 2 * ceilf(fontHeight.ascent + fontHeight.descent +
159 fontHeight.leading);
/haiku-fatelf/src/add-ons/mail_daemon/outbound_filters/fortune/
H A DConfigView.cpp29 font_height fontHeight; local
30 GetFontHeight(&fontHeight);
31 float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent
32 + fontHeight.leading) + 13;
/haiku-fatelf/src/add-ons/translators/png/
H A DPNGView.cpp36 font_height fontHeight; local
37 be_bold_font->GetHeight(&fontHeight);
38 float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
63 GetFontHeight(&fontHeight);
64 height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
/haiku-fatelf/src/kits/interface/
H A DRadioButton.cpp89 font_height fontHeight; local
90 GetFontHeight(&fontHeight);
99 BRect knobRect(_KnobFrame(fontHeight));
112 float textHeight = ceilf(fontHeight.ascent + fontHeight.descent);
115 BRect rect = _KnobFrame(fontHeight);
119 - fontHeight.descent + 0.5) + 1.0);
129 underLine.y += fontHeight.descent;
226 underLine.y += fontHeight.descent;
367 font_height fontHeight; local
589 font_height fontHeight; local
[all...]
H A DCheckBox.cpp32 font_height fontHeight; local
33 GetFontHeight(&fontHeight);
34 float minHeight = (float)ceil(6.0f + fontHeight.ascent
35 + fontHeight.descent);
119 font_height fontHeight; local
120 GetFontHeight(&fontHeight);
124 float x = (float)ceil(10.0f + fontHeight.ascent);
125 float y = 5.0f + (float)ceil(fontHeight.ascent);
206 DrawString(Label(), BPoint((float)ceil(10.0f + fontHeight.ascent),
207 3.0f + (float)ceil(fontHeight
419 font_height fontHeight; local
588 font_height fontHeight; local
600 font_height fontHeight; local
[all...]
H A DStatusBar.cpp212 font_height fontHeight; local
213 GetFontHeight(&fontHeight);
214 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 6;
284 font_height fontHeight; local
285 GetFontHeight(&fontHeight);
286 BRect barFrame = _BarFrame(&fontHeight);
307 float baseLine = ceilf(fontHeight.ascent) + 1;
611 font_height fontHeight; local
612 GetFontHeight(&fontHeight);
788 font_height fontHeight; local
[all...]
H A DStringView.cpp235 font_height fontHeight; local
236 GetFontHeight(&fontHeight);
240 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
241 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
452 font_height fontHeight; local
453 GetFontHeight(&fontHeight);
455 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
456 + fontHeight
[all...]
/haiku-fatelf/src/apps/mediaplayer/interface/
H A DDurationView.cpp56 font_height fontHeight; local
57 GetFontHeight(&fontHeight);
58 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku-fatelf/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-fatelf/src/apps/deskbar/
H A DShowHideMenuItem.cpp64 font_height fontHeight; local
65 font.GetHeight(&fontHeight);
66 fTitleAscent = ceilf(fontHeight.ascent);
67 fTitleDescent = ceilf(fontHeight.descent + fontHeight.leading);
/haiku-fatelf/src/apps/stylededit/
H A DStatusView.cpp140 font_height fontHeight; local
141 GetFontHeight(&fontHeight);
145 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
252 font_height fontHeight; local
253 GetFontHeight(&fontHeight);
255 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
256 + fontHeight.leading);
/haiku-fatelf/src/preferences/cpufrequency/
H A DColorStepView.cpp116 font_height fontHeight; local
117 GetFontHeight(&fontHeight);
121 *height += fontHeight.descent + fontHeight.ascent + 5;
171 font_height fontHeight; local
172 GetFontHeight(&fontHeight);
173 float totalFontHeight = fontHeight.descent + fontHeight.ascent;
/haiku-fatelf/src/add-ons/mail_daemon/inbound_filters/notifier/
H A DConfigView.cpp34 font_height fontHeight; local
35 GetFontHeight(&fontHeight);
36 float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent
37 + fontHeight.leading) + 6;
/haiku-fatelf/src/kits/mail/
H A DFileConfigView.cpp38 font_height fontHeight; local
39 GetFontHeight(&fontHeight);
40 float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent
41 + fontHeight.leading) + 13;
/haiku-fatelf/src/preferences/screen/
H A DMonitorView.cpp109 font_height fontHeight;
110 GetFontHeight(&fontHeight);
111 float height = ceilf(fontHeight.ascent + fontHeight.descent);
124 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
/haiku-fatelf/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-fatelf/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-fatelf/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.h40 font_height fontHeight; member in struct:MainWindow::SchedulingPage::FontInfo
/haiku-fatelf/src/add-ons/screen_savers/message/
H A DMessage.cpp256 font_height fontHeight; local
257 font.GetHeight(&fontHeight);
258 float lineHeight = fontHeight.ascent + fontHeight.descent + fontHeight.leading;
275 start.y += 10 + fontHeight.ascent + fontHeight.leading;

Completed in 205 milliseconds

1234