roundf 100 Source/core/css/CSSCursorImageValue.cpp float x = roundf(cursorElement->x()->currentValue()->value(lengthContext)); roundf 103 Source/core/css/CSSCursorImageValue.cpp float y = roundf(cursorElement->y()->currentValue()->value(lengthContext)); roundf 674 Source/core/page/SpatialNavigation.cpp candidate.distance = roundf(distance); roundf 819 Source/core/rendering/InlineTextBox.cpp rect.setWidth(roundf(maxX - rect.x())); roundf 152 Source/core/rendering/RenderEmbeddedObject.cpp float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); roundf 153 Source/core/rendering/RenderEmbeddedObject.cpp float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent()); roundf 676 Source/core/rendering/RenderText.cpp left = roundf(left); roundf 223 Source/core/rendering/RenderTextControl.cpp return roundf(style()->font().primaryFont()->avgCharWidth()); roundf 237 Source/core/rendering/RenderTextControl.cpp return roundf(style()->font().fontDescription().computedSize() * x / unitsPerEm); roundf 328 Source/core/rendering/RenderTextControlSingleLine.cpp maxCharWidth = roundf(style()->font().primaryFont()->maxCharWidth()); roundf 105 Source/core/rendering/svg/RenderSVGForeignObject.cpp setWidth(static_cast<int>(roundf(m_viewport.width()))); roundf 113 Source/core/rendering/svg/RenderSVGForeignObject.cpp computedValues.m_extent = static_cast<int>(roundf(m_viewport.height())); roundf 88 Source/core/svg/SVGAnimatedColor.cpp m_styleColor = StyleColor(makeRGBA(roundf(animatedRed), roundf(animatedGreen), roundf(animatedBlue), roundf(animatedAlpha))); roundf 97 Source/core/svg/SVGFontData.cpp fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); roundf 92 Source/core/svg/SVGInteger.cpp m_value = static_cast<int>(roundf(animatedFloat)); roundf 58 Source/core/svg/SVGIntegerOptionalInteger.cpp int x = static_cast<int>(roundf(floatX)); roundf 59 Source/core/svg/SVGIntegerOptionalInteger.cpp int y = static_cast<int>(roundf(floatY)); roundf 105 Source/core/svg/SVGIntegerOptionalInteger.cpp m_firstInteger->setValue(static_cast<int>(roundf(x))); roundf 106 Source/core/svg/SVGIntegerOptionalInteger.cpp m_secondInteger->setValue(static_cast<int>(roundf(y))); roundf 783 Source/platform/fonts/Font.cpp roundf(point.x() + totalWidth - beforeWidth) - pixelAlignedX, roundf 789 Source/platform/fonts/Font.cpp roundf(point.x() + afterWidth) - pixelAlignedX, roundf 129 Source/platform/fonts/SimpleFontData.cpp m_adjustedSpaceWidth = m_treatAsFixedPitch ? ceilf(width) : roundf(width); roundf 219 Source/platform/fonts/WidthIterator.cpp float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); roundf 235 Source/platform/fonts/WidthIterator.cpp width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); roundf 406 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp int toPad = roundf(m_padPerWordBreak + m_padError); roundf 547 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp m_totalWidth = roundf(m_totalWidth); roundf 1110 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp return FloatRect(floorf(point.x() + fromX), point.y(), roundf(toX - fromX), height); roundf 1111 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp return FloatRect(floorf(point.x() + toX), point.y(), roundf(fromX - toX), height); roundf 44 Source/platform/fonts/mac/ComplexTextController.cpp return roundf(static_cast<float>(f)); roundf 566 Source/platform/fonts/mac/ComplexTextController.cpp float roundedAdvanceWidth = roundf(advance.width); roundf 594 Source/platform/fonts/mac/ComplexTextController.cpp float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); roundf 604 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); roundf 66 Source/platform/fonts/mac/FontComplexTextMac.cpp return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h); roundf 69 Source/platform/fonts/mac/FontComplexTextMac.cpp return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point.x() + beforeWidth), h); roundf 208 Source/platform/geometry/FloatPoint.h return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y()))); roundf 169 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height()))); roundf 722 Source/platform/graphics/GraphicsContext.cpp int width = roundf(strokeThickness()); roundf 206 Source/platform/graphics/GraphicsContextState.cpp m_alpha = roundf(alpha * 256); roundf 187 Source/platform/graphics/Image.cpp float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width()))); roundf 191 Source/platform/graphics/Image.cpp float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height()))); roundf 295 Source/platform/graphics/filters/FETurbulence.cpp stitchData.width = roundf(tileWidth * baseFrequencyX); roundf 297 Source/platform/graphics/filters/FETurbulence.cpp stitchData.height = roundf(tileHeight * baseFrequencyY); roundf 211 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize scaledImageSize = SkISize::Make(clampToInteger(roundf(imageSize.width() * scaleX)), roundf 212 Source/platform/graphics/skia/NativeImageSkia.cpp clampToInteger(roundf(imageSize.height() * scaleY))); roundf 97 Source/wtf/MathExtras.h inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } roundf 99 Source/wtf/MathExtras.h inline long lroundf(float num) { return static_cast<long>(roundf(num)); }