Searched refs:fontHeight (Results 26 - 50 of 97) sorted by last modified time

1234

/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/showimage/
H A DShowImageView.cpp630 font_height fontHeight; local
635 font.GetHeight(&fontHeight);
636 height = fontHeight.ascent + fontHeight.descent;
640 pos.y = bounds.bottom - fontHeight.descent - 7;
645 rect.OffsetBy(-2, -2 - fontHeight.ascent); // -2 for border
/haiku/src/kits/tracker/infowindow/
H A DHeaderView.cpp448 font_height fontHeight; local
449 font.GetHeight(&fontHeight);
453 fIconRect.Height() + (fontHeight.ascent + 2)));
677 font_height fontHeight; local
678 font.GetHeight(&fontHeight);
680 return fontHeight.ascent + fontHeight.descent + fontHeight.leading + 2;
/haiku/src/apps/pulse/
H A DConfigView.cpp70 font_height fontHeight; local
71 be_bold_font->GetHeight(&fontHeight);
73 fColorControl = new RTColorControl(BPoint(10, 5.0f + fontHeight.ascent
74 + fontHeight.descent), new BMessage(fMode));
/haiku/src/apps/deskbar/
H A DBarView.cpp1271 font_height fontHeight; local
1273 fExpandoMenuBar->GetFontHeight(&fontHeight);
1275 GetFontHeight(&fontHeight);
1277 float labelHeight = fontHeight.ascent + fontHeight.descent;
H A DTimeView.cpp194 font_height fontHeight; local
195 GetFontHeight(&fontHeight);
196 fHeight = fontHeight.ascent + fontHeight.descent - 2;
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp589 float y = lineRect.bottom - fFontInfo.fontHeight.descent + 1;
1758 be_plain_font->GetHeight(&fFontInfo.fontHeight);
1759 fFontInfo.lineHeight = ceilf(fFontInfo.fontHeight.ascent)
1760 + ceilf(fFontInfo.fontHeight.descent);
/haiku/src/kits/interface/
H A DButton.cpp671 font_height fontHeight; local
672 GetFontHeight(&fontHeight);
673 float textHeight = fontHeight.ascent + fontHeight.descent;
H A DBMCPrivate.cpp341 font_height fontHeight;
342 GetFontHeight(&fontHeight);
343 top = ceilf((Bounds().Height() - ceilf(fontHeight.ascent)
344 - ceilf(fontHeight.descent)) / 2) + 1;
H A DBox.cpp260 font_height fontHeight; local
261 GetFontHeight(&fontHeight);
264 float lineHeight = fontHeight.ascent + fontHeight.descent;
268 DrawString(fLabel, BPoint(10.0f, fontHeight.ascent - yOffset));
774 font_height fontHeight; local
775 GetFontHeight(&fontHeight);
777 ceilf(fontHeight.ascent));
778 labelHeight = ceilf(fontHeight.ascent + fontHeight
[all...]
/haiku/src/kits/shared/
H A DStatusView.cpp19 font_height fontHeight; local
28 testFont.GetHeight(&fontHeight);
29 currentSize = fontHeight.ascent + fontHeight.descent;
H A DDateTimeEdit.cpp384 font_height fontHeight; local
385 GetFontHeight(&fontHeight);
386 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.4);
747 font_height fontHeight; local
748 GetFontHeight(&fontHeight);
749 return ceilf((fontHeight.ascent + fontHeight.descent) * 1.4);
/haiku/src/apps/expander/
H A DExpanderWindow.cpp759 font_height fontHeight; local
761 font.GetHeight(&fontHeight);
762 fLineHeight = ceilf(fontHeight.ascent + fontHeight.descent
763 + fontHeight.leading);
/haiku/src/preferences/filetypes/
H A DMimeTypeListView.cpp139 font_height fontHeight; local
140 font->GetHeight(&fontHeight);
142 fBaselineOffset = fontHeight.ascent
143 + (Height() - ceilf(fontHeight.ascent + fontHeight.descent)) / 2.0f;
H A DFileTypesWindow.cpp178 font_height fontHeight; local
179 GetFontHeight(&fontHeight);
182 float y = fontHeight.ascent;
185 y += (bitmapRect.Height() - fontHeight.ascent - fontHeight.descent) / 2.0f;
210 font_height fontHeight; local
211 GetFontHeight(&fontHeight);
213 *_height = bitmapRect.Height() + 3.0f + ceilf(fontHeight.ascent
214 + fontHeight.descent);
226 font_height fontHeight; local
[all...]
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp592 font_height fontHeight; local
593 fDrawState.Font().GetHeight(fontHeight);
600 + fontHeight.ascent + fontHeight.descent) / 2.0
601 - fontHeight.descent + 0.5);
604 + fontHeight.ascent + fontHeight.descent) / 2.0
605 - fontHeight.descent + 0.5);
H A DTabDecorator.cpp366 font_height fontHeight; local
367 fDrawState.Font().GetHeight(fontHeight);
373 - ceilf(fontHeight.ascent + fontHeight.descent + spacing),
379 - ceilf(fontHeight.ascent + fontHeight.descent + fBorderWidth),
/haiku/src/apps/activitymonitor/
H A DActivityView.cpp1235 font_height fontHeight; local
1236 GetFontHeight(&fontHeight);
1245 return rows * (4 + ceilf(fontHeight.ascent)
1246 + ceilf(fontHeight.descent) + ceilf(fontHeight.leading)) + boldMargin;
1481 font_height fontHeight; local
1482 GetFontHeight(&fontHeight);
1499 float y = frame.top + ceilf(fontHeight.ascent);
/haiku/src/apps/diskprobe/
H A DDataView.cpp1377 font_height fontHeight; local
1378 font->GetHeight(&fontHeight);
1380 fFontHeight = int32(fontHeight.ascent + fontHeight.descent
1381 + fontHeight.leading);
1382 fAscent = fontHeight.ascent;
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.cpp658 font_height fontHeight; local
659 fDrawState.Font().GetHeight(fontHeight);
666 + fontHeight.ascent + fontHeight.descent) / 2.0
667 - fontHeight.descent + 0.5);
670 + fontHeight.ascent + fontHeight.descent) / 2.0
671 - fontHeight.descent + 0.5);
/haiku/src/kits/media/
H A DDefaultMediaTheme.cpp306 font_height fontHeight; local
307 GetFontHeight(&fontHeight);
309 *_height = fontHeight.ascent + fontHeight.descent + fontHeight.leading
/haiku/src/preferences/input/
H A DMouseView.cpp141 font_height fontHeight; local
142 GetFontHeight(&fontHeight);
143 fDigitHeight = int32(ceilf(fontHeight.ascent) + ceilf(fontHeight.descent));
144 fDigitBaseline = int32(ceilf(fontHeight.ascent));
/haiku/src/apps/packageinstaller/
H A DPackageView.cpp476 float fontHeight = be_plain_font->Size(); local
480 "package description", fontHeight * 13);
499 "install type description", fontHeight * 4);
/haiku/src/apps/webpositive/tabview/
H A DTabView.cpp205 font_height fontHeight; local
206 fContainerView->GetFontHeight(&fontHeight);
207 return ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp682 font_height fontHeight; local
683 fDrawState.Font().GetHeight(fontHeight);
690 + fontHeight.ascent + fontHeight.descent) / 2.0
691 - fontHeight.descent + 0.5);
694 + fontHeight.ascent + fontHeight.descent) / 2.0
695 - fontHeight.descent + 0.5);

Completed in 221 milliseconds

1234