Searched refs:ascent (Results 26 - 50 of 185) sorted by relevance

12345678

/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/kits/interface/
H A DZombieReplicantView.cpp95 bounds.Height() / 2.0f - fh.ascent / 2.0f));
H A DFont.cpp371 font->fHeight.ascent = kUninitializedAscent;
517 fHeight.ascent = 7.0;
563 fHeight.ascent = kUninitializedAscent;
599 fHeight.ascent = kUninitializedAscent;
628 fHeight.ascent = kUninitializedAscent;
639 fHeight.ascent = kUninitializedAscent;
647 fHeight.ascent = kUninitializedAscent;
655 fHeight.ascent = kUninitializedAscent;
1181 if (fHeight.ascent == kUninitializedAscent) {
1430 fHeight.ascent, fHeigh
[all...]
H A DStatusBar.cpp213 labelHeight = ceilf(fontHeight.ascent + fontHeight.descent) + 6;
306 float baseLine = ceilf(fontHeight.ascent) + 1;
581 const_cast<BStatusBar *>(this)->fBarHeight = fontHeight.ascent
760 // ceilf(fontHeight.ascent) + ceilf(fontHeight.descent)));
765 ceilf(fontHeight.ascent) + ceilf(fontHeight.descent)));
780 top = ceilf(height.ascent + height.descent) + 6;
782 top = ceilf(fontHeight->ascent + fontHeight->descent) + 6;
H A DListItem.cpp154 SetHeight(ceilf(fh.ascent + fh.descent + fh.leading));
H A DCheckBox.cpp38 float minHeight = (float)ceil(6.0f + fontHeight.ascent
499 return BRect(0.0f, 2.0f, ceilf(3.0f + fontHeight.ascent),
500 ceilf(5.0f + fontHeight.ascent));
535 ceilf(6.0f + fontHeight.ascent + fontHeight.descent));
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyleData.h51 CharacterStyleDataRef SetAscent(float ascent);
53 // Returns the ascent of the configured font, unless the ascent
117 // which defines ascent, descent and width to fixed values, thereby
H A DCharacterStyle.cpp153 CharacterStyle::SetAscent(float ascent) argument
155 CharacterStyleDataRef data = fStyleData->SetAscent(ascent);
157 return data->Ascent() == ascent;
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DStringView.cpp122 fStringAscent = ceilf(fh.ascent);
/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/kits/tracker/
H A DDialogPane.cpp105 - ceilf(fontHeight.ascent) - ceilf(fontHeight.descent)) / 2
106 + ceilf(fontHeight.ascent);
214 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/apps/drivesetup/
H A DDiskView.cpp212 textOffset.y += ceilf(fh.ascent);
216 textOffset.x += ceilf(fh.ascent);
540 messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0,
541 (bounds.Height() - (fh.ascent + fh.descent) * 2) / 2.0);
552 textOffset.x = messageBounds.left + fh.ascent;
554 - fh.ascent - fh.descent) / 2 + fh.ascent;
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h77 float fontHeight = height.ascent + height.descent;
/haiku/src/tests/servers/app/avoid_focus/
H A DAvoidFocus.cpp119 MovePenTo(20, ceilf(20 + fontHeight.ascent));
/haiku/src/apps/mediaplayer/interface/
H A DDurationView.cpp69 size.height = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp62 fTitleAscent = ceilf(fontHeight.ascent);
/haiku/src/bin/
H A Dlistfont.cpp35 "\t\t\theight (ascent/descent/leading), ...)\n");
132 printf(" %5.2f, %4.2f, %4.2f ", fh.ascent, fh.descent, fh.leading);
/haiku/src/apps/switcher/
H A DWindowsView.cpp163 2 + (int32)ceilf(fontHeight.ascent + fontHeight.leading / 2));
165 SetHeight((int32)ceilf(fontHeight.ascent)
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp48 BPoint labelStart(kSpacing, fh.ascent + fh.leading + 1);
184 return ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading);
/haiku/src/preferences/network/
H A DNetworkSettingsAddOn.cpp192 float lineHeight = ceilf(height.ascent) + ceilf(height.descent)
194 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2);
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp80 + fh.ascent / 2.0)));
158 float height = floorf(4.0 + fh.ascent + fh.descent);
/haiku/src/apps/resedit/
H A DMiscEditors.cpp87 float strheight = fh.ascent + fh.descent + fh.leading + 5;
169 float strheight = fh.ascent + fh.descent + fh.leading + 5;
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowConfigView.cpp303 ybold = fh.ascent + fh.descent * 2 + fh.leading;
312 yplain = plainh.ascent + plainh.descent * 2 + plainh.leading;
/haiku/src/add-ons/screen_savers/spider/
H A DSpiderView.cpp53 float fontHeight = fh.ascent + fh.descent + 5.0;
61 fontHeight = fh.ascent + fh.descent + 5.0;
/haiku/src/servers/notification/
H A DAppGroupView.cpp96 float y = (bounds.top + bounds.bottom - ceilf(fontHeight.ascent)
97 - ceilf(fontHeight.descent)) / 2.0 + ceilf(fontHeight.ascent);

Completed in 185 milliseconds

12345678