Searched refs:descent (Results 1 - 25 of 172) sorted by relevance

1234567

/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/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/cortex/DormantNodeView/
H A DDormantNodeListItem.cpp120 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent;
136 BPoint labelOffset(r.left + 1.0, r.bottom - m_fontHeight.descent);
151 float newHeight = m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading;
208 r.bottom = fh.ascent + fh.descent + fh.leading;
247 r.bottom = r.top + m_fontHeight.ascent + m_fontHeight.descent;
248 BPoint labelOffset(r.left + 1.0, r.bottom - m_fontHeight.descent);
/haiku/src/apps/cortex/TipManager/
H A DTipView.cpp119 p.y += (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading);
233 float height = m_fontHeight.ascent + m_fontHeight.descent;
236 (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading);
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp72 + 2 * INSETS, itemRect.bottom - finfo.descent + 1);
86 point -= BPoint(0, (finfo.ascent + finfo.descent + finfo.leading) + INSETS);
131 SetHeight(MAX((height.ascent + height.descent + height.leading) * TEXT_ROWS
/haiku/src/preferences/time/
H A DTZDisplay.cpp60 float fontHeight = ceilf(height.descent + height.ascent +
157 size.height = 2 * ceilf(fontHeight.ascent + fontHeight.descent +
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp194 float titleHeight = fh.leading + fh.descent;
197 titleHeight += fh.leading + fh.ascent + fh.descent;
217 float step = fh.ascent + fh.descent + fh.leading + M_V_MARGIN;
262 p.y += fh.descent;
351 *height += fh.ascent + fh.descent + fh.leading + M_V_MARGIN;
441 p.y += fh.ascent + fh.descent + fh.leading;
564 return fh.ascent + fh.descent + fh.leading;
570 float height = fh.ascent + fh.descent + fh.leading;
/haiku/src/apps/debuganalyzer/gui/chart/
H A DStringChartLegend.cpp85 fFontHeight = fFontAscent + ceilf(fh.descent);
/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/apps/haikudepot/textview/
H A DCharacterStyleData.cpp141 CharacterStyleData::SetDescent(float descent) argument
143 if (fDescent == descent)
150 ret->fDescent = descent;
163 return fontHeight.descent;
H A DCharacterStyle.h35 bool SetDescent(float descent);
H A DCharacterStyleData.h57 CharacterStyleDataRef SetDescent(float descent);
59 // Returns the descent of the configured font, unless the descent
117 // which defines ascent, descent and width to fixed values, thereby
H A DCharacterStyle.cpp172 CharacterStyle::SetDescent(float descent) argument
174 CharacterStyleDataRef data = fStyleData->SetDescent(descent);
176 return data->Descent() == descent;
/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.cpp51 fHeight.descent = (double)-face->descender / face->units_per_EM;
52 // FT2's descent numbers are negative. Be's is positive
69 fHeight.descent = (double)-metrics.descender / size;
129 height.descent = fHeight.descent * size;
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp111 + ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2;
221 fPreferredSize.height = ceilf(fontHeight.ascent + fontHeight.descent
/haiku/src/apps/haikudepot/ui_generic/
H A DLinkView.cpp69 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DStringView.cpp123 fStringDescent = ceilf(fh.descent);
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowConfigView.cpp302 xbold = fh.descent + 1;
303 ybold = fh.ascent + fh.descent * 2 + fh.leading;
312 yplain = plainh.ascent + plainh.descent * 2 + plainh.leading;
/haiku/src/preferences/printers/
H A DJobListView.cpp188 float height = (fontHeight.ascent + fontHeight.descent
260 SetHeight((height.ascent + height.descent + height.leading) * 2.0 + 8.0);
274 float fntheight = height.ascent + height.descent + height.leading;
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h77 float fontHeight = height.ascent + height.descent;
/haiku/src/kits/interface/
H A DListItem.cpp154 SetHeight(ceilf(fh.ascent + fh.descent + fh.leading));

Completed in 132 milliseconds

1234567