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

12

/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DSVGAnimatedColor.cpp98 animatedColor = ColorDistance::clampColor(static_cast<int>(roundf(animatedRed)), static_cast<int>(roundf(animatedGreen)), static_cast<int>(roundf(animatedBlue)), static_cast<int>(roundf(animatedAlpha)));
H A DSVGAnimatedIntegerOptionalInteger.cpp46 animatedInteger.first = static_cast<int>(roundf(firstNumber));
47 animatedInteger.second = static_cast<int>(roundf(secondNumber));
H A DSVGFontData.cpp92 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
H A DSVGAnimatedInteger.cpp80 animatedInteger = static_cast<int>(roundf(animatedNumber));
/macosx-10.9.5/IOGraphics-471.92.1/tools/
H A Dgtf.c85 int horizontalActive = roundf(requestedWidth / charSize) * charSize
89 int verticalActive = roundf(requestedHeight / interlaceFactor); // V_LINES_RND
123 verticalSyncAndBackPorch = roundf(verticalSyncAndBackPorchTime / estimatedHorizontalPeriod);
147 horizontalBlanking = 2 * charSize * roundf(
161 horizontalSyncWidth = roundf(horizontalSyncPercent * horizontalTotal / charSize) * charSize;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DFontWin.cpp62 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning
66 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h);
69 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
H A DUniscribeController.cpp300 float roundedAdvance = roundf(advance);
303 offsetX = roundf(offsetX);
304 offsetY = roundf(offsetY);
/macosx-10.9.5/WebCore-7537.78.1/rendering/svg/
H A DRenderSVGForeignObject.cpp113 setWidth(static_cast<int>(roundf(m_viewport.width())));
121 computedValues.m_extent = static_cast<int>(roundf(m_viewport.height()));
/macosx-10.9.5/WebKit-7537.78.2/efl/ewk/
H A Dewk_tiled_backing_store_private.h41 #define TILE_SIZE_AT_ZOOM(SIZE, ZOOM) ((int)roundf((SIZE) * (ZOOM)))
43 #define ROUNDED_ZOOM(SIZE, ZOOM) ((float)(SIZE) / (float)(((int)roundf((SIZE) / (ZOOM)))))
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DWidthIterator.cpp225 float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
241 width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
H A DFloatPoint.h238 return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y())));
H A DFloatSize.h198 return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height())));
H A DFontFastPath.cpp304 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning.
308 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
311 return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point.x() + beforeWidth), h);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/mac/
H A DWebPopupMenuProxyMac.mm128 float vertOffset = roundf((NSMaxY(rect) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
137 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font);
H A DWebContextMenuProxyMac.mm219 float vertOffset = roundf((NSMaxY(menuRect) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
/macosx-10.9.5/WebCore-7537.78.1/css/
H A DCSSCursorImageValue.cpp126 float x = roundf(cursorElement->x().value(lengthContext));
129 float y = roundf(cursorElement->y().value(lengthContext));
/macosx-10.9.5/WebCore-7537.78.1/inspector/
H A DInspectorFrontendClientLocal.cpp327 return roundf(std::max(minimumAttachedHeight, std::min<float>(preferredHeight, totalWindowHeight * maximumAttachedHeightRatio)));
332 return roundf(std::max(minimumAttachedWidth, std::min<float>(preferredWidth, totalWindowWidth - minimumAttachedInspectedWidth)));
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/
H A DSimpleFontDataBlackBerry.cpp63 m_maxCharWidth = roundf((xRange * roundf(m_platformData.size())) / metrics.unitsPerEm);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DFontComplexTextMac.cpp50 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning
53 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
56 return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point.x() + beforeWidth), h);
H A DComplexTextController.cpp105 return roundf(static_cast<float>(f));
624 float roundedAdvanceWidth = roundf(advance.width);
652 float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
662 advance.width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderTextControl.cpp245 return roundf(style()->font().primaryFont()->avgCharWidth());
259 return roundf(style()->font().size() * x / unitsPerEm);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/
H A DFindIndicator.cpp204 graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DGraphicsContextCG.cpp642 float destinationX = roundf(rect.x() - lineWidth);
643 float destinationY = roundf(rect.y() - lineWidth);
1037 const float destinationX = roundf(rect.x() - lineWidth);
1038 const float destinationY = roundf(rect.y() - lineWidth);
1219 deviceOrigin.x = roundf(deviceOrigin.x);
1220 deviceOrigin.y = roundf(deviceOrigin.y);
1222 deviceLowerRight.x = roundf(deviceLowerRight.x);
1223 deviceLowerRight.y = roundf(deviceLowerRight.y);
1225 deviceLowerRight.x = deviceOrigin.x + roundf(rect.width() * deviceScaleX);
1226 deviceLowerRight.y = deviceOrigin.y + roundf(rec
[all...]
/macosx-10.9.5/WebKit-7537.78.2/mac/WebCoreSupport/
H A DPopupMenuMac.mm163 float vertOffset = roundf((NSMaxY(r) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
191 wkPopupMenu(menu, location, roundf(NSWidth(r)), dummyView.get(), index, font);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/filters/
H A DFETurbulence.cpp298 stitchData.width = roundf(tileWidth * baseFrequencyX);
300 stitchData.height = roundf(tileHeight * baseFrequencyY);

Completed in 232 milliseconds

12