Home
last modified time | relevance | path

Searched refs:roundf (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/win/
DFontWin.cpp57 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
60 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
DUniscribeController.cpp270 float roundedSpaceWidth = roundf(fontData->spaceWidth()); in shapeAndPlaceItem()
303 float roundedAdvance = roundf(advance); in shapeAndPlaceItem()
306 offsetX = roundf(offsetX); in shapeAndPlaceItem()
307 offsetY = roundf(offsetY); in shapeAndPlaceItem()
/external/webkit/WebCore/platform/graphics/mac/
DFontMacCoreText.cpp53 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText()
56 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
DCoreTextController.cpp45 return roundf(static_cast<float>(f)); in roundCGFloat()
462 float roundedAdvanceWidth = roundf(advance.width); in adjustGlyphsAndAdvances()
DFontMacATSUI.mm213 width = roundf(width);
510 …FloatRect rect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth…
/external/webkit/WebCore/css/
DCSSCursorImageValue.cpp94 float x = roundf(cursorElement->x().value(0)); in updateIfSVGCursorIsUsed()
97 float y = roundf(cursorElement->y().value(0)); in updateIfSVGCursorIsUsed()
/external/webkit/WebCore/platform/graphics/
DFloatPoint.h144 return IntPoint(static_cast<int>(roundf(p.x())), static_cast<int>(roundf(p.y()))); in roundedIntPoint()
DSimpleFontData.cpp94 m_adjustedSpaceWidth = roundf(m_spaceWidth); in SimpleFontData()
149 m_adjustedSpaceWidth = m_treatAsFixedPitch ? ceilf(width) : roundf(width); in platformGlyphInit()
DFontFastPath.cpp339 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForSimpleText()
341 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForSimpleText()
/external/skia/src/core/
DSkUnPreMultiply.cpp67 uint32_t div = roundf(j * 255.0f / i); in SkUnPreMultiply_BuildTable()
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp192 roundf(SkScalarToFloat(width)), in selectionRectForComplexText()
193 roundf(SkScalarToFloat(spacing))); in selectionRectForComplexText()
DGraphicsContextAndroid.cpp58 return (int)roundf(x); in RoundToInt()
/external/webkit/WebCore/platform/mac/
DDragImageMac.mm51 newSize.width = roundf(newSize.width);
52 newSize.height = roundf(newSize.height);
DPopupMenuMac.mm135 float vertOffset = roundf((NSMaxY(r) - NSMaxY(titleFrame)) + NSHeight(titleFrame));
158 wkPopupMenu(menu, location, roundf(NSWidth(r)), dummyView.get(), index, font);
/external/webkit/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp534 int width = roundf(strokeThickness()); in drawLine()
841 deviceOrigin.setX(roundf(deviceOrigin.x())); in roundToDevicePixels()
842 deviceOrigin.setY(roundf(deviceOrigin.y())); in roundToDevicePixels()
843 deviceLowerRight.setX(roundf(deviceLowerRight.x())); in roundToDevicePixels()
844 deviceLowerRight.setY(roundf(deviceLowerRight.y())); in roundToDevicePixels()
DImageSkia.cpp228 int alpha = roundf(platformContext->getAlpha() * 256); in paintSkBitmap()
DPlatformContextSkia.cpp158 int s = roundf(m_alpha * 256); in applyAlpha()
/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp933 deviceOrigin.x = roundf(deviceOrigin.x); in roundToDevicePixels()
934 deviceOrigin.y = roundf(deviceOrigin.y); in roundToDevicePixels()
935 deviceLowerRight.x = roundf(deviceLowerRight.x); in roundToDevicePixels()
936 deviceLowerRight.y = roundf(deviceLowerRight.y); in roundToDevicePixels()
/external/webkit/JavaScriptCore/wtf/
DMathExtras.h108 inline float roundf(float num) { return num > 0 ? floorf(num + 0.5f) : ceilf(num - 0.5f); } in roundf() function
/external/webkit/WebKitTools/DumpRenderTree/cg/
DImageDiffCG.cpp222 difference = roundf(difference * 100.0f) / 100.0f; in main()
/external/webkit/WebCore/page/mac/
DFrameMac.mm283 rect.size.height = roundf(rect.size.height);
284 rect.size.width = roundf(rect.size.width);
/external/webkit/WebCore/inspector/
DInspectorController.cpp408 …return roundf(max(minimumAttachedHeight, min<float>(preferredHeight, totalWindowHeight * maximumAt… in constrainedAttachedWindowHeight()
/external/webkit/WebKit/mac/
DChangeLog-2006-02-091421 although the right hand side is roundf()ed instead of cielf()ed for
2848 (-[WebTextRenderer computeWidthForSpace]): Ditto. Also use roundf instead of
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-1410841 (roundf): Tweaked.
/external/webkit/WebCore/
DChangeLog-2008-08-1050260 * css/CSSCursorImageValue.cpp: #include MathExtras.h to get roundf.

12