Searched refs:roundf (Results 1 - 25 of 44) sorted by path

12

/haiku/headers/build/
H A DHaikuBuildCompatibility.h122 extern float roundf(float value);
/haiku/src/add-ons/screen_savers/shelf/
H A DShelf.cpp127 .AddStrut(roundf(be_control_look->DefaultItemSpacing() / 2))
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h124 roundf(float v) function
/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp94 roundf(float v) function
122 unsigned r = (unsigned)roundf(radius);
/haiku/src/apps/networkstatus/
H A DRadioView.cpp197 center.Set(roundf(bounds.Width() / 2), bounds.bottom);
/haiku/src/kits/interface/
H A DSlider.cpp787 return (int32)roundf(((position - min) * (fMaxValue - fMinValue)
1463 thickness = roundf(thickness);
H A DAbstractSpinner.cpp1146 position = roundf(position);
1439 x = fDivider - roundf(fLayoutData->label_width / 2.0f);
1450 + roundf((rect.Height() + 1.0f - fontHeight.ascent
H A DBox.cpp265 float yOffset = roundf(lineHeight / 6.0f);
H A DGraphicsDefs.cpp47 return (uint8)roundf(sqrtf(
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 DMenuItem.cpp422 if (roundf(frameWidth) >= roundf(labelWidth))
811 float symbolSize = roundf(Frame().Height() * 2 / 3);
H A DScrollBar.cpp746 value = roundf(value);
835 min = roundf(min);
836 max = roundf(max);
876 smallStep = roundf(smallStep);
877 largeStep = roundf(largeStep);
1310 return roundf(fMin + (offset / (maxSize - thumbSize)
/haiku/src/preferences/appearance/
H A DColorWhichListView.cpp66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
/haiku/src/servers/app/drawing/
H A Ddrawing_support.cpp9 rect->OffsetTo(roundf(rect->left), roundf(rect->top));
10 rect->right = roundf(rect->right);
11 rect->bottom = roundf(rect->bottom);
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp35 roundf(float v) function
1071 fBaseRenderer->add_clip_box(roundf(lt.x),
1072 roundf(lt.y),
1073 roundf(rb.x),
1074 roundf(rb.y));
/haiku/headers/posix/
H A Dmath.h183 extern float roundf(float x);
/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/add-ons/screen_savers/nebula/
H A DNebula.cpp579 .AddStrut(roundf(be_control_look->DefaultItemSpacing() / 2))
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1309 float creditsWidth = roundf(infoWidth * 1.25f);
/haiku/src/apps/charactermap/
H A DCharacterView.cpp674 fGap = (int32)roundf(fCharacterHeight / 8.0);
/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/apps/icon-o-matic/
H A DCanvasView.cpp82 offset.x = roundf(offset.x + dataRectCenter.x - boundsCenter.x);
83 offset.y = roundf(offset.y + dataRectCenter.y - boundsCenter.y);
124 where.x = roundf(where.x);
125 where.y = roundf(where.y);
164 where.x = roundf(where.x);
165 where.y = roundf(where.y);
630 offset.x = roundf(offset.x + canvasAnchor.x - anchor.x);
631 offset.y = roundf(offset.y + canvasAnchor.y - anchor.y);
/haiku/src/apps/terminal/
H A DColorListView.cpp66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
H A DColorPreview.cpp155 rect.top = roundf(rect.bottom / 2.0f + 1);

Completed in 228 milliseconds

12