/haiku/src/servers/app/drawing/ |
H A D | drawing_support.cpp | 9 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 D | roundf.c | 3 float roundf(float x) function
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | llroundf.c | 5 return roundf(x);
|
H A D | lroundf.c | 5 return roundf(x);
|
H A D | roundf.c | 12 float roundf(float x) function
|
/haiku/src/apps/icon-o-matic/ |
H A D | CanvasView.cpp | 82 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 D | support.h | 124 roundf(float v) function
|
/haiku/src/kits/tracker/ |
H A D | Bitmaps.cpp | 191 float x = roundf((dest->Bounds().Width() - size) / 2); 192 float y = roundf((dest->Bounds().Height() - size) / 2);
|
H A D | TextWidget.cpp | 140 + roundf((view->ListElemHeight() + view->FontHeight()) / 2); 166 + roundf((column->Width() - viewWidth) / 2); 186 + roundf((view->ListElemHeight() + view->FontHeight()) / 2); 192 + roundf((view->IconSizeInt() - viewWidth) / 2); 419 scrollView->MoveBy(roundf(right / 2), 0);
|
/haiku/src/preferences/appearance/ |
H A D | ColorWhichListView.cpp | 66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
|
H A D | ColorPreview.cpp | 155 rect.top = roundf(rect.bottom / 2.0f + 1);
|
/haiku/src/apps/terminal/ |
H A D | ColorListView.cpp | 66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
|
H A D | ColorPreview.cpp | 155 rect.top = roundf(rect.bottom / 2.0f + 1);
|
/haiku/src/preferences/keymap/ |
H A D | StatusMenuField.cpp | 128 bounds.top += roundf(Spacing() / 2); // center inside menu field vertically
|
/haiku/src/kits/interface/ |
H A D | MenuItem.cpp | 422 if (roundf(frameWidth) >= roundf(labelWidth)) 811 float symbolSize = roundf(Frame().Height() * 2 / 3);
|
H A D | ScrollBar.cpp | 746 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 D | GraphicsDefs.cpp | 47 return (uint8)roundf(sqrtf(
|
H A D | View.cpp | 1725 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 D | Window.cpp | 1608 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 D | AbstractSpinner.cpp | 1146 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 D | RadioView.cpp | 197 center.Set(roundf(bounds.Width() / 2), bounds.bottom);
|
/haiku/headers/build/ |
H A D | HaikuBuildCompatibility.h | 122 extern float roundf(float value);
|
/haiku/src/add-ons/screen_savers/shelf/ |
H A D | Shelf.cpp | 127 .AddStrut(roundf(be_control_look->DefaultItemSpacing() / 2))
|
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 35 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 D | StackBlurFilter.cpp | 94 roundf(float v) function 122 unsigned r = (unsigned)roundf(radius);
|