Home
last modified time | relevance | path

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

/external/webkit/WebCore/platform/graphics/win/
DSimpleFontDataCairoWin.cpp66 m_ascent = lroundf(textMetrics.tmAscent * metricsMultiplier); in platformInit()
67 m_descent = lroundf(textMetrics.tmDescent * metricsMultiplier); in platformInit()
69 m_lineGap = lroundf(textMetrics.tmExternalLeading * metricsMultiplier); in platformInit()
DSimpleFontDataCGWin.cpp96 m_ascent = lroundf(fAscent); in platformInit()
97 m_descent = lroundf(fDescent); in platformInit()
98 m_lineGap = lroundf(fLineGap); in platformInit()
DSimpleFontDataWin.cpp111 winfont.lfHeight = -lroundf(smallCapsHeight * (m_font.useGDI() ? 1 : 32)); in smallCapsFontData()
DFontCGWin.cpp155 gdiAdvances.append(lroundf(glyphBuffer.advanceAt(from + i))); in drawGDIGlyphs()
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dfontprops.cpp65 m_ascent = lroundf(fAscent); in wxFontProperties()
66 m_descent = lroundf(fDescent); in wxFontProperties()
67 m_lineGap = lroundf(fLineGap); in wxFontProperties()
70 m_xHeight = lroundf(xHeight); in wxFontProperties()
/external/webkit/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp53 m_ascent = lroundf(tm.tmAscent); in wxFontProperties()
54 m_descent = lroundf(tm.tmDescent); in wxFontProperties()
56 m_lineGap = lroundf(tm.tmExternalLeading); in wxFontProperties()
/external/webkit/WebCore/dom/
DWheelEvent.cpp43 , m_wheelDeltaX(lroundf(wheelDeltaX) * 120) in WheelEvent()
44 , m_wheelDeltaY(lroundf(wheelDeltaY) * 120) // Normalize to the Windows 120 multiple in WheelEvent()
DEventTargetNode.cpp586 pageX = lroundf(pageX / pageZoom); in dispatchMouseEvent()
587 pageY = lroundf(pageY / pageZoom); in dispatchMouseEvent()
/external/webkit/WebCore/svg/
DSVGMaskElement.cpp147 IntSize imageSize(lroundf(widthValue), lroundf(heightValue)); in drawMaskerContent()
DSVGPatternElement.cpp214 …IntSize imageSize(lroundf(patternBoundariesIncludingOverflow.width()), lroundf(patternBoundariesIn… in buildPattern()
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerGradient.cpp187 IntSize maskSize(lroundf(textBoundary.width()), lroundf(textBoundary.height())); in clipToTextMask()
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp110 const float smallCapsSize = lroundf(fontDescription.computedSize() * smallCapsFraction); in smallCapsFontData()
DSimpleFontDataChromiumWin.cpp109 winFont.lfHeight = -lroundf(smallCapsSize); in smallCapsFontData()
/external/webkit/WebCore/platform/
DScrollbar.h64 int value() const { return lroundf(m_currentPos); } in value()
/external/webkit/WebCore/rendering/
DRenderThemeWin.cpp768 …int cancelButtonSize = lroundf(min(max(minCancelButtonSize, defaultCancelButtonSize * fontScale), … in adjustSearchFieldCancelButtonStyle()
784 …int magnifierSize = lroundf(min(max(minSearchFieldResultsDecorationSize, defaultSearchFieldResults… in adjustSearchFieldResultsDecorationStyle()
817 …int magnifierHeight = lroundf(min(max(minSearchFieldResultsDecorationSize, defaultSearchFieldResul… in adjustSearchFieldResultsButtonStyle()
819 …int magnifierWidth = lroundf(magnifierHeight * defaultSearchFieldResultsButtonWidth / defaultSearc… in adjustSearchFieldResultsButtonStyle()
/external/webkit/JavaScriptCore/wtf/
DMathExtras.h108 inline long lroundf(float num) { return static_cast<long>(num > 0 ? num + 0.5f : ceilf(num - 0.5f))… in lroundf() function
/external/webkit/WebCore/platform/graphics/
DFont.h81 int width(const TextRun& run) const { return lroundf(floatWidth(run)); } in width()
DColor.cpp66 return max(0, min(static_cast<int>(lroundf(255.0f * f)), 255)); in colorFloatToRGBAByte()
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm249 m_ascent = lroundf(fAscent);
250 m_descent = lroundf(fDescent);
251 m_lineGap = lroundf(fLineGap);
/external/webkit/JavaScriptCore/
Djsc.cpp147 return elapsedTime.tv_sec * 1000 + lroundf(elapsedTime.tv_usec / 1000.0f); in getElapsedMS()
DChangeLog-2007-10-146709 (lroundf):
10839 (lroundf): Tweaked.
/external/webkit/WebCore/
DChangeLog-2005-12-199558 (QFontMetrics::width): Use lroundf instead of the ROUND_TO_INT macro.
9570 * kwq/KWQPainter.mm: (QPainter::drawText): Ditto. Also use lroundf instead of the
DChangeLog-2006-12-312401 Fix Mac build, by adding lroundf() (I swear this compiled w/o that, locally :-)
28630 Use lroundf instead of lround since deltas are floats.
DChangeLog-2006-05-1039041 Replaced use of qRound with use of lroundf or lround as appropriate.
/external/webkit/WebKit/mac/
DChangeLog-2006-02-092840 (-[WebTextRenderer initWithFont:]): Use lroundf instead of ROUND_TO_INT.