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

12

/macosx-10.10/WebCore-7600.1.25/svg/
H A DSVGAnimatedColor.cpp96 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.cpp44 animatedInteger.first = static_cast<int>(roundf(firstNumber));
45 animatedInteger.second = static_cast<int>(roundf(secondNumber));
H A DSVGFontData.cpp95 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
H A DSVGAnimatedInteger.cpp78 animatedInteger = static_cast<int>(roundf(animatedNumber));
/macosx-10.10/IOGraphics-485/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.10/WebCore-7600.1.25/platform/ios/
H A DWidgetIOS.mm239 return IntPoint(roundf(convertedPoint.x), roundf(convertedPoint.y));
258 return IntPoint(roundf(convertedPoint.x), roundf(convertedPoint.y));
/macosx-10.10/WebKit-7600.1.25/ios/WebView/
H A DWebPDFViewPlaceholder.mm389 bounds.origin.x = roundf(bounds.origin.x);
390 bounds.origin.y = roundf(bounds.origin.y);
391 bounds.size.width = roundf(bounds.size.width);
392 bounds.size.height = roundf(bounds.size.height);
460 pageRect.size.width = roundf(pageRect.size.width * scalingFactor);
461 pageRect.size.height = roundf(pageRect.size.height * scalingFactor);
464 pageRect.origin.x = roundf((desiredWidth - pageRect.size.width) / 2.0f);
480 return CGSizeMake(roundf(desiredWidth), roundf(desiredHeight));
H A DWebPDFViewIOS.mm259 boxRect.size.width = roundf(boxRect.size.width);
260 boxRect.size.height = roundf(boxRect.size.height);
274 _pageRects[i].origin.x = roundf((size.width - _pageRects[i].size.width) / 2);
/macosx-10.10/WebCore-7600.1.25/css/
H A DCSSCursorImageValue.cpp114 float x = roundf(cursorElement->x().value(lengthContext));
117 float y = roundf(cursorElement->y().value(lengthContext));
/macosx-10.10/WebCore-7600.1.25/rendering/svg/
H A DRenderSVGForeignObject.cpp116 setWidth(static_cast<int>(roundf(m_viewport.width())));
124 computedValues.m_extent = static_cast<int>(roundf(m_viewport.height()));
/macosx-10.10/WebCore-7600.1.25/platform/graphics/
H A DWidthIterator.cpp236 float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
252 width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
H A DFloatPoint.h215 return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y())));
H A DFloatSize.h178 return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height())));
/macosx-10.10/WebKit2-7600.1.25/UIProcess/mac/
H A DWebPopupMenuProxyMac.mm128 float vertOffset = roundf((NSMaxY(rect) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
150 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font, controlSize, data.hideArrows);
/macosx-10.10/WebCore-7600.1.25/inspector/
H A DInspectorFrontendClientLocal.cpp328 return roundf(std::max(minimumAttachedHeight, std::min<float>(preferredHeight, totalWindowHeight * maximumAttachedHeightRatio)));
333 return roundf(std::max(minimumAttachedWidth, std::min<float>(preferredWidth, totalWindowWidth - minimumAttachedInspectedWidth)));
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DTextAutoSizing.cpp147 float averageSize = roundf(cumulativeSize / m_autoSizedNodes.size());
160 averageSize = roundf(specifiedSize * MAX_SCALE_INCREASE);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/
H A DFindIndicator.cpp245 graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DUniscribeController.cpp309 float roundedAdvance = roundf(advance);
312 offsetX = roundf(offsetX);
313 offsetY = roundf(offsetY);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/gstreamer/
H A DGStreamerUtilities.cpp158 timeValue.tv_usec = static_cast<glong>(roundf(microSeconds / 10000) * 10000);
/macosx-10.10/WebCore-7600.1.25/platform/ios/wak/
H A DWAKScrollView.mm354 origin.x = roundf(-origin.x - anEvent.deltaX);
355 origin.y = roundf(-origin.y - anEvent.deltaY);
/macosx-10.10/WebKit-7600.1.25/mac/WebCoreSupport/
H A DPopupMenuMac.mm166 float vertOffset = roundf((NSMaxY(r) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
207 wkPopupMenu(menu, location, roundf(NSWidth(r)), dummyView.get(), index, font, controlSize, !m_client->menuStyle().hasDefaultAppearance());
/macosx-10.10/WebCore-7600.1.25/platform/graphics/mac/
H A DComplexTextController.cpp107 return roundf(static_cast<float>(f));
637 float roundedAdvanceWidth = roundf(advance.width);
665 float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
675 advance.width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cg/
H A DGraphicsContextCG.cpp746 float destinationX = roundf(rect.x() - lineWidth);
747 float destinationY = roundf(rect.y() - lineWidth);
1145 const float destinationX = roundf(rect.x() - lineWidth);
1146 const float destinationY = roundf(rect.y() - lineWidth);
1334 deviceOrigin.x = roundf(deviceOrigin.x);
1335 deviceOrigin.y = roundf(deviceOrigin.y);
1337 deviceLowerRight.x = roundf(deviceLowerRight.x);
1338 deviceLowerRight.y = roundf(deviceLowerRight.y);
1340 deviceLowerRight.x = deviceOrigin.x + roundf(rect.width() * deviceScaleX);
1341 deviceLowerRight.y = deviceOrigin.y + roundf(rec
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/filters/
H A DFETurbulence.cpp297 stitchData.width = roundf(tileWidth * baseFrequencyX);
299 stitchData.height = roundf(tileHeight * baseFrequencyY);
/macosx-10.10/WebCore-7600.1.25/page/scrolling/mac/
H A DScrollingTreeFrameScrollingNodeMac.mm325 FloatPoint roundedPosition(roundf(scrollPosition.x()), roundf(scrollPosition.y()));

Completed in 301 milliseconds

12