/haiku/src/apps/cortex/InfoView/ |
H A D | InfoView.cpp | 192 font_height fh; local 193 be_bold_font->GetHeight(&fh); 194 float titleHeight = fh.leading + fh.descent; 196 be_plain_font->GetHeight(&fh); 197 titleHeight += fh.leading + fh.ascent + fh.descent; 216 be_plain_font->GetHeight(&fh); 217 float step = fh 253 font_height fh; local 295 font_height fh; local [all...] |
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_common_compat.h | 14 unsigned long fh; member in struct:fuse_file_info_compat
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | StringTest.cpp | 41 font_height fh; local 42 view->GetFontHeight(&fh); 43 fLineHeight = ceilf(fh.ascent) + ceilf(fh.descent) 44 + ceilf(fh.leading); 45 fStartHeight = ceilf(fh.ascent) + ceilf(fh.descent);
|
/haiku/src/tools/translation/bmpinfo/ |
H A D | bmpinfo.cpp | 85 BMPFileHeader fh; local 94 memcpy(&fh.magic, buf, 2); 95 memcpy(&fh.fileSize, buf + 2, 4); 96 memcpy(&fh.reserved, buf + 6, 4); 97 memcpy(&fh.dataOffset, buf + 10, 4); 98 swap_data(B_UINT16_TYPE, &fh.magic, sizeof(uint16), 100 swap_data(B_UINT32_TYPE, (reinterpret_cast<uint8 *> (&fh)) + 2, 104 printf(B_TRANSLATE(" magic: 0x%.4x (should be: 0x424d)\n"), fh.magic); 105 printf(B_TRANSLATE(" file size: 0x%.8lx (%lu)\n"), fh.fileSize, 106 fh [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | FileInfo.h | 27 inline FileHandle(const FileHandle& fh); 28 inline FileHandle& operator=(const FileHandle& fh); 100 FileHandle::FileHandle(const FileHandle& fh) argument 102 fSize(fh.fSize) 104 memcpy(fData, fh.fData, fSize); 109 FileHandle::operator=(const FileHandle& fh) argument 111 fSize = fh.fSize; 112 memcpy(fData, fh.fData, fSize);
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | StringChartLegend.cpp | 82 font_height fh; local 83 fFont.GetHeight(&fh); 84 fFontAscent = ceilf(fh.ascent); 85 fFontHeight = fFontAscent + ceilf(fh.descent);
|
/haiku/src/apps/icon-o-matic/generic/property/view/ |
H A D | PropertyEditorView.cpp | 73 font_height fh; local 74 GetFontHeight(&fh); 76 float height = floorf(4.0 + fh.ascent + fh.descent);
|
H A D | PropertyItemView.cpp | 74 font_height fh; local 75 font.GetHeight(&fh); 80 + fh.ascent / 2.0))); 155 font_height fh; local 156 GetFontHeight(&fh); 158 float height = floorf(4.0 + fh.ascent + fh.descent);
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | StringView.cpp | 119 font_height fh; local 120 font.GetHeight(&fh); 122 fStringAscent = ceilf(fh.ascent); 123 fStringDescent = ceilf(fh.descent);
|
/haiku/3rdparty/kallisti5/ |
H A D | configure.py | 112 with open(filename, "w") as fh: 113 fh.write("# -- WARNING --\n") 114 fh.write("# This file was AUTOMATICALLY GENERATED by configure, and will be completely\n") 115 fh.write("# overwritten the next time configure is run.\n\n") 117 fh.write(i["key"] + " ?= " + str(i["value"]) + " ;\n") 242 with open(outputDir + "/Jamfile", "w") as fh: 243 fh.write("# -- WARNING --\n") 244 fh.write("# This file was AUTOMATICALLY GENERATED by configure, and will be completely\n") 245 fh.write("# overwritten the next time configure is run.\n\n") 246 fh [all...] |
/haiku/src/kits/interface/ |
H A D | ListItem.cpp | 150 font_height fh; local 151 font->GetHeight(&fh); 154 SetHeight(ceilf(fh.ascent + fh.descent + fh.leading));
|
H A D | ZombieReplicantView.cpp | 90 font_height fh; local 92 GetFontHeight(&fh); 95 bounds.Height() / 2.0f - fh.ascent / 2.0f));
|
/haiku/src/bin/ |
H A D | listfont.cpp | 130 font_height fh; local 131 font.GetHeight(&fh); 132 printf(" %5.2f, %4.2f, %4.2f ", fh.ascent, fh.descent, fh.leading);
|
/haiku/src/apps/resedit/ |
H A D | MiscEditors.cpp | 85 font_height fh; local 86 be_plain_font->GetHeight(&fh); 87 float strheight = fh.ascent + fh.descent + fh.leading + 5; 167 font_height fh; local 168 be_plain_font->GetHeight(&fh); 169 float strheight = fh.ascent + fh.descent + fh [all...] |
H A D | ImageEditor.cpp | 42 font_height fh; local 43 be_plain_font->GetHeight(&fh); 44 float strheight = fh.ascent + fh.descent + fh.leading + 5;
|
/haiku/src/libs/print/libprint/ |
H A D | HalftoneView.cpp | 154 font_height fh; local 155 font.GetHeight(&fh); 158 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 [all...] |
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | WonderBrushView.cpp | 152 font_height fh; local 153 be_bold_font->GetHeight(&fh); 154 float ybold = fh.ascent + fh.descent * 2 + fh.leading;
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | SeekSlider.cpp | 79 font_height fh; local 80 GetFontHeight(&fh); 84 textPos.y = (r.top + r.bottom - ceilf(fh.ascent + fh.descent)) / 2.0 85 + ceilf(fh.ascent);
|
/haiku/src/add-ons/screen_savers/spider/ |
H A D | SpiderView.cpp | 51 font_height fh; local 52 be_bold_font->GetHeight(&fh); 53 float fontHeight = fh.ascent + fh.descent + 5.0; 60 be_plain_font->GetHeight(&fh); 61 fontHeight = fh.ascent + fh.descent + 5.0;
|
/haiku/src/tools/translation/tgainfo/ |
H A D | tgainfo.cpp | 153 TGAFileHeader fh; local 154 fh.idlength = buf[0]; 155 fh.colormaptype = buf[1]; 156 fh.imagetype = buf[2]; 159 printf(B_TRANSLATE(" id length: %d\n"), static_cast<int>(fh.idlength)); 162 static_cast<int>(fh.colormaptype), 163 static_cast<const char *>(colormaptype(fh.colormaptype))); 165 static_cast<int>(fh.imagetype), 166 static_cast<const char *>(imagetype(fh.imagetype)));
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | IconObjectListView.cpp | 76 font_height fh; local 77 GetFontHeight(&fh); 81 float textHeight = (fh.ascent + fh.descent) * 1.5;
|
/haiku/src/add-ons/screen_savers/slideshowsaver/ |
H A D | SlideShowConfigView.cpp | 299 font_height fh; local 300 GetFontHeight(&fh); 302 xbold = fh.descent + 1; 303 ybold = fh.ascent + fh.descent * 2 + fh.leading;
|
/haiku/src/servers/notification/ |
H A D | NotificationView.cpp | 465 font_height fh; local 466 be_bold_font->GetHeight(&fh); 467 float fontHeight = ceilf(fh.leading) + ceilf(fh.descent) 468 + ceilf(fh.ascent); 482 be_plain_font->GetHeight(&fh); 483 fontHeight = ceilf(fh.leading) + ceilf(fh.descent) 484 + ceilf(fh.ascent); 582 font_height fh; local [all...] |
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/ |
H A D | PopupSlider.cpp | 60 font_height fh; local 61 font.GetHeight(&fh); 62 float labelHeight = 2.0 + ceilf(fh.ascent + fh.descent) + 2.0; 139 font_height fh; local 140 GetFontHeight(&fh); 141 BPoint textPoint(0.0, (r.top + r.bottom) / 2.0 + fh.ascent / 2.0);
|
/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 200 font_height fh; local 201 font.GetHeight(&fh); 212 textOffset.y += ceilf(fh.ascent); 216 textOffset.x += ceilf(fh.ascent); 541 font_height fh; local 542 GetFontHeight(&fh); 544 messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0, 545 (bounds.Height() - (fh.ascent + fh.descent) * 2) / 2.0); 556 textOffset.x = messageBounds.left + fh [all...] |