Searched refs:ascent (Results 1 - 25 of 185) sorted by relevance

12345678

/haiku/src/kits/shared/
H A DStatusView.cpp29 currentSize = fontHeight.ascent + fontHeight.descent;
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp54 + (rect.Height() - (fontHeight.ascent + fontHeight.descent
56 + (fontHeight.ascent + fontHeight.descent) - 2;
/haiku/src/preferences/time/
H A DTZDisplay.cpp60 float fontHeight = ceilf(height.descent + height.ascent +
63 BPoint pt(bounds.left, ceilf(bounds.top + height.ascent));
157 size.height = 2 * ceilf(fontHeight.ascent + fontHeight.descent +
/haiku/src/apps/cortex/TipManager/
H A DTipView.cpp119 p.y += (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading);
187 m_offset.y += m_fontHeight.ascent;
233 float height = m_fontHeight.ascent + m_fontHeight.descent;
236 (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading);
/haiku/src/kits/interface/textview_support/
H A DLineBuffer.h20 float ascent; // maximum ascent for line member in struct:STELine
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp197 titleHeight += fh.leading + fh.ascent + fh.descent;
217 float step = fh.ascent + fh.descent + fh.leading + M_V_MARGIN;
257 M_V_MARGIN * 2.0 + fh.ascent);
265 p.y += fh.ascent + fh.leading;
279 p.y += B_LARGE_ICON + 2 * M_V_MARGIN + fh.ascent + 2 * fh.leading;
299 p.y += B_LARGE_ICON + M_V_MARGIN * 2.0 + fh.ascent + fh.leading * 2.0;
351 *height += fh.ascent + fh.descent + fh.leading + M_V_MARGIN;
359 *height += B_LARGE_ICON + 2 * M_V_MARGIN + fh.ascent + 2 * fh.leading;
441 p.y += fh.ascent + fh.descent + fh.leading;
564 return fh.ascent
[all...]
/haiku/src/tests/servers/app/benchmark/
H A DStringTest.cpp43 fLineHeight = ceilf(fh.ascent) + ceilf(fh.descent)
45 fStartHeight = ceilf(fh.ascent) + ceilf(fh.descent);
/haiku/src/apps/haikudepot/ui_generic/
H A DLinkView.cpp68 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
69 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
/haiku/src/apps/cortex/DormantNodeView/
H A DDormantNodeListItem.cpp118 r.top += (frame.Height() / 2.0) - (m_fontHeight.ascent / 2.0);
120 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent;
151 float newHeight = m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading;
208 r.bottom = fh.ascent + fh.descent + fh.leading;
245 r.top += (m_frame.Height() / 2.0) - (m_fontHeight.ascent / 2.0);
247 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent;
/haiku/src/kits/interface/
H A DStringItem.cpp130 fBaselineOffset = 2 + ceilf(fheight.ascent + fheight.leading / 2);
132 SetHeight(ceilf(fheight.ascent) + ceilf(fheight.descent)
/haiku/src/preferences/network/
H A DServiceListItem.cpp102 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2);
108 SetHeight(4 + ceilf(height.ascent + height.leading + height.descent));
/haiku/src/apps/debuganalyzer/gui/chart/
H A DStringChartLegend.cpp84 fFontAscent = ceilf(fh.ascent);
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyEditorView.cpp76 float height = floorf(4.0 + fh.ascent + fh.descent);
/haiku/src/apps/soundrecorder/
H A DSoundListView.cpp49 pt.y = (Bounds().Height() + height.ascent + height.descent)/ 2;
/haiku/src/tests/servers/app/workspace_activated/
H A DWorkspaceActivated.cpp64 MovePenTo(20, ceilf(20 + fontHeight.ascent));
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyleData.cpp114 CharacterStyleData::SetAscent(float ascent) argument
116 if (fAscent == ascent)
123 ret->fAscent = ascent;
136 return fontHeight.ascent;
H A DCharacterStyle.h32 bool SetAscent(float ascent);
/haiku/src/libs/print/libprint/
H A DHalftoneView.cpp158 r.Set(0, 0, size, fh.ascent + fh.descent);
164 r.Set(0, 0, size, fh.ascent + fh.descent);
171 r.Set(0, 0, size, fh.ascent + fh.descent);
178 r.Set(0, 0, size, fh.ascent + fh.descent);
/haiku/src/servers/input/
H A DMethodMenuItem.cpp66 *height = fheight.ascent + fheight.descent + fheight.leading - 2;
/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/apps/midiplayer/
H A DScopeView.cpp206 float stringHeight = height.ascent + height.descent;
209 float y = height.ascent + (Bounds().Height() - stringHeight) / 2;
/haiku/src/preferences/screen/
H A DMonitorView.cpp108 float height = ceilf(fontHeight.ascent + fontHeight.descent);
121 innerRect.top + fontHeight.ascent + (innerRect.Height() - height) / 2));
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp86 point -= BPoint(0, (finfo.ascent + finfo.descent + finfo.leading) + INSETS);
131 SetHeight(MAX((height.ascent + height.descent + height.leading) * TEXT_ROWS
/haiku/src/preferences/input/
H A DInputDeviceView.cpp94 frame.top + fontInfo.ascent
95 + (frame.Height() - ceilf(fontInfo.ascent + fontInfo.descent))
/haiku/src/apps/mediaplayer/interface/
H A DSeekSlider.cpp84 textPos.y = (r.top + r.bottom - ceilf(fh.ascent + fh.descent)) / 2.0
85 + ceilf(fh.ascent);

Completed in 139 milliseconds

12345678