Searched refs:floorf (Results 1 - 25 of 130) sorted by relevance

123456

/haiku/src/system/libroot/posix/musl/math/arm64/
H A Dfloorf.c3 float floorf(float x) function
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dsupport.h60 left = (int32)floorf(r.left);
61 top = (int32)floorf(r.top);
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dfloor.s1 .global floorf
2 .type floorf,@function
3 floorf: label
/haiku/src/system/libroot/posix/musl/math/
H A Dfloorf.c3 float floorf(float x) function
/haiku/src/apps/haikudepot/ui_generic/
H A DBitmapView.cpp60 bounds.left = floorf(bounds.right - width);
64 bounds.left = floorf(bounds.left
72 bounds.top = floorf(bounds.bottom - height);
76 bounds.top = floorf(bounds.top
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp739 sliderPosition = floorf(rect.left + 2 + (rect.Width() - 2)
745 sliderPosition = floorf(rect.top + 2 + (rect.Height() - 2)
974 rect.InsetBy(0, floorf(rect.Height() / 4));
975 rect.left = floorf((rect.left + rect.right) / 2);
984 rect.InsetBy(floorf(rect.Width() / 4), 0);
985 rect.top = floorf((rect.top + rect.bottom) / 2);
1008 rect.left = floorf(rect.left);
1009 rect.right = floorf(rect.right);
1010 rect.top = floorf(rect.top);
1011 rect.bottom = floorf(rec
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h54 left = (int32)floorf(r.left);
55 top = (int32)floorf(r.top);
127 return floorf(v + 0.5);
/haiku/src/apps/debuganalyzer/gui/
H A DColorCheckBox.cpp48 rect.top = floorf((rect.top + rect.bottom) / 2);
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/
H A DColorProperty.cpp156 a.red = a.red + (uint8)floorf((b.red - a.red) * scale + 0.5);
157 a.green = a.green + (uint8)floorf((b.green - a.green) * scale + 0.5);
158 a.blue = a.blue + (uint8)floorf((b.blue - a.blue) * scale + 0.5);
159 a.alpha = a.alpha + (uint8)floorf((b.alpha - a.alpha) * scale + 0.5);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DIconValueView.cpp45 r.OffsetTo(floorf(b.left + b.Width() / 2.0 - r.Width() / 2.0),
46 floorf(b.top + b.Height() / 2.0 - r.Height() / 2.0));
H A DBoolValueView.cpp71 float centerX = floorf(Bounds().left + width / 2.0);
72 float centerY = floorf(Bounds().top + height / 2.0);
H A DOptionValueView.cpp67 float center = floorf(b.top + b.Height() / 2.0);
87 DrawString(fCurrentOption.String(), BPoint(b.left, floorf(center + fh.ascent / 2.0)));
95 float centerX = floorf(Bounds().left + width / 2.0);
96 float centerY = floorf(Bounds().top + height / 2.0);
H A DColorValueView.cpp63 b.left = floorf(b.left + (b.Width() / 2.0) - b.Height() / 2.0);
/haiku/src/kits/shared/
H A DBitmapButton.cpp102 floorf((bounds.left + bounds.right
104 floorf((bounds.top + bounds.bottom
H A DColorItem.cpp59 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h364 rect.left = floorf(rect.left);
365 rect.top = floorf(rect.top);
379 rect.left = floorf(rect.left);
380 rect.top = floorf(rect.top);
407 rect.left = floorf(rect.left);
408 rect.top = floorf(rect.top);
413 rect.right = floorf(rect.right);
414 rect.bottom = floorf(rect.bottom);
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyEditorView.cpp76 float height = floorf(4.0 + fh.ascent + fh.descent);
/haiku/src/tests/servers/app/playground/
H A DStates.cpp40 where.x = floorf(where.x + 0.5);
41 where.y = floorf(where.y + 0.5);
67 where.x = floorf(where.x + 0.5);
68 where.y = floorf(where.y + 0.5);
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp1126 sliderPosition = floorf(rect.left + 2 + (rect.Width() - 2)
1132 sliderPosition = floorf(rect.top + 2 + (rect.Height() - 2)
1360 rect.InsetBy(0, floorf(rect.Height() / 4));
1361 rect.left = floorf((rect.left + rect.right) / 2);
1372 rect.InsetBy(floorf(rect.Width() / 4), 0);
1373 rect.top = floorf((rect.top + rect.bottom) / 2);
1649 rect.left = floorf(rect.left);
1650 rect.right = floorf(rect.right);
1651 rect.top = floorf(rect.top);
1652 rect.bottom = floorf(rec
[all...]
H A DColorMenuItem.cpp199 return floorf(std::max(14.0f, be_plain_font->Size() + 2) / 2);
206 return floorf(std::max(14.0f, be_plain_font->Size() + 2) * M_PHI);
H A DRegion.cpp491 return (clipping_rect){ (int)floorf(rect.left), (int)floorf(rect.top),
499 return (clipping_rect){ (int)floorf(rect.left), (int)floorf(rect.top),
H A DControlLook.cpp46 return std::max(1.0f, floorf(be_control_look->DefaultItemSpacing() / 11.0f));
88 dest.left = floorf(dest.left);
90 dest.top = floorf(dest.top);
/haiku/src/servers/app/
H A DLayer.cpp206 boundingBox.left = floorf(boundingBox.left);
208 boundingBox.top = floorf(boundingBox.top);
/haiku/src/add-ons/screen_savers/gravity/
H A DRainbowItem.cpp58 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);
/haiku/src/preferences/appearance/
H A DColorWhichItem.cpp58 colorRect.right = colorRect.left + floorf(colorRect.Height() * M_PHI);

Completed in 335 milliseconds

123456