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

12

/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/system/libroot/posix/musl/math/arm64/
H A Droundf.c3 float roundf(float x) function
/haiku/src/system/libroot/posix/musl/math/
H A Dllroundf.c5 return roundf(x);
H A Dlroundf.c5 return roundf(x);
H A Droundf.c12 float roundf(float x) function
/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/icon-o-matic/generic/support/
H A Dsupport.h124 roundf(float v) function
/haiku/src/kits/tracker/
H A DBitmaps.cpp191 float x = roundf((dest->Bounds().Width() - size) / 2);
192 float y = roundf((dest->Bounds().Height() - size) / 2);
H A DTextWidget.cpp140 + roundf((view->ListElemHeight() + ActualFontHeight(view)) / 2);
167 + roundf((column->Width() - viewWidth) / 2);
187 + roundf((view->ListElemHeight() + ActualFontHeight(view)) / 2);
193 + roundf((view->IconSizeInt() - viewWidth) / 2);
420 scrollView->MoveBy(roundf(right / 2), 0);
/haiku/src/preferences/appearance/
H A DColorWhichListView.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);
/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);
/haiku/src/preferences/keymap/
H A DStatusMenuField.cpp128 bounds.top += roundf(Spacing() / 2); // center inside menu field vertically
/haiku/src/kits/interface/
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)
H A DGraphicsDefs.cpp47 return (uint8)roundf(sqrtf(
H A DView.cpp1725 where.x = roundf(where.x);
1726 where.y = roundf(where.y);
4815 MoveTo(fParentOffset.x + roundf(deltaX), fParentOffset.y + roundf(deltaY));
4833 x = roundf(x);
4834 y = roundf(y);
4855 deltaWidth = roundf(deltaWidth);
4856 deltaHeight = roundf(deltaHeight);
5843 frame.left = roundf(frame.left);
5844 frame.top = roundf(fram
[all...]
H A DWindow.cpp1608 zoomArea.InsetBy(0, roundf((zoomArea.Height() - maxZoomHeight) / 2));
1620 zoomArea.InsetBy(roundf((zoomArea.Width() - maxZoomWidth) / 2), 0);
2384 x = roundf(x);
2385 y = roundf(y);
2417 width = roundf(width);
2418 height = roundf(height);
2732 frame.left = roundf(frame.left);
2733 frame.top = roundf(frame.top);
2734 frame.right = roundf(frame.right);
2735 frame.bottom = roundf(fram
[all...]
H A DAbstractSpinner.cpp1146 position = roundf(position);
1439 x = fDivider - roundf(fLayoutData->label_width / 2.0f);
1450 + roundf((rect.Height() + 1.0f - fontHeight.ascent
/haiku/src/apps/networkstatus/
H A DRadioView.cpp197 center.Set(roundf(bounds.Width() / 2), bounds.bottom);
/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/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/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp94 roundf(float v) function
122 unsigned r = (unsigned)roundf(radius);

Completed in 143 milliseconds

12