Searched refs:roundf (Results 26 - 44 of 44) sorted by relevance

12

/haiku/headers/posix/
H A Dmath.h183 extern float roundf(float x);
/haiku/src/servers/app/decorator/
H A DDecorator.cpp873 *minWidth = (int32)roundf(max_c(*minWidth,
877 *minHeight = (int32)roundf(max_c(*minHeight,
/haiku/src/apps/charactermap/
H A DCharacterView.cpp674 fGap = (int32)roundf(fCharacterHeight / 8.0);
/haiku/src/add-ons/screen_savers/nebula/
H A DNebula.cpp579 .AddStrut(roundf(be_control_look->DefaultItemSpacing() / 2))
/haiku/src/kits/interface/
H A DBox.cpp265 float yOffset = roundf(lineHeight / 6.0f);
H A DStatusBar.cpp795 return roundf(barFrame.left - 1
H A DSlider.cpp787 return (int32)roundf(((position - min) * (fMaxValue - fMinValue)
1463 thickness = roundf(thickness);
H A DHaikuControlLook.cpp470 float inset = std::max(2.0f, roundf(font.Size() / 6));
554 float inset = roundf(font.Size() / 4);
3003 BPoint center(roundf((rect.left + rect.right) / 2.0),
3004 roundf((rect.top + rect.bottom) / 2.0));
3005 const float metric = roundf(rect.Width() * 3.125f) / 10.0f,
3039 const float spacing = (indicatorWidth <= 11.0f) ? 1.0f : roundf(indicatorWidth / 11.0f);
H A DMenuField.cpp689 position = roundf(position);
H A DTextView.cpp3954 fTextRect.InsetBy(roundf((fTextRect.Width()
5120 fContainerView->MoveBy(roundf(right / 2), 0);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1358 baseLine.x = roundf(baseLine.x);
1359 baseLine.y = roundf(baseLine.y);
1402 baseLine.x = roundf(baseLine.x);
1403 baseLine.y = roundf(baseLine.y);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1711 centered.y -= roundf(screenFrame.Height() / 16);
1921 off = roundf((centerRect.Width() - rect.Width()) / 2);
1926 off = roundf((centerRect.Width() - endRect.Width()) / 2);
1937 off = roundf((centerRect.Width() - destRect.Width()) / 2);
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp1804 BPoint center(roundf((rect.left + rect.right) / 2.0),
1805 roundf((rect.top + rect.bottom) / 2.0));
1845 const float spacing = (indicatorWidth <= 11.0f) ? 1.0f : roundf(indicatorWidth / 11.0f);
/haiku/src/servers/input/
H A DInputServer.cpp1672 where.x = roundf(where.x);
1673 where.y = roundf(where.y);
/haiku/src/kits/tracker/
H A DPose.cpp970 + roundf((B_MINI_ICON + poseView->FontHeight()) / 2);
H A DTitleView.cpp532 roundf((bounds.top + bounds.bottom) / 2.0));
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c2361 void roundf() {} function
H A Dlibroot_stubs_legacy.c2343 void roundf() {} function
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1309 float creditsWidth = roundf(infoWidth * 1.25f);

Completed in 232 milliseconds

12