Searched refs:ceilf (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DIntRectCG.cpp44 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect)));
45 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));
H A DImageBufferDataCG.cpp131 endx *= ceilf(resolutionScale);
145 destw = min<int>(destw, ceilf(size.width() / resolutionScale) - originx);
159 desth = min<int>(desth, ceilf(size.height() / resolutionScale) - originy);
H A DGraphicsContextCG.cpp181 subimageRect.setWidth(ceilf(subimageRect.width() + leftPadding));
184 subimageRect.setHeight(ceilf(subimageRect.height() + topPadding));
619 float adjustedWidth = ceilf(rect.width() + doubleLineWidth);
620 float adjustedHeight = ceilf(rect.height() + doubleLineWidth);
1013 float adjustedWidth = ceilf(rect.width() + doubleLineWidth);
1014 float adjustedHeight = ceilf(rect.height() + doubleLineWidth);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DIntRectMac.mm42 int r = static_cast<int>(ceilf(NSMaxX(rect)));
43 int b = static_cast<int>(ceilf(NSMaxY(rect)));
H A DFontComplexTextMac.cpp50 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning
113 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
114 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
115 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX()));
116 glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.totalWidth()));
/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DSVGFontFaceElement.cpp131 return static_cast<unsigned>(ceilf(value.toFloat()));
136 return static_cast<int>(ceilf(fastGetAttribute(x_heightAttr).toFloat()));
224 return static_cast<int>(ceilf(ascentValue.toFloat()));
229 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
233 return static_cast<int>(ceilf(unitsPerEm() * 0.8f));
246 int descent = static_cast<int>(ceilf(descentValue.toFloat()));
253 return static_cast<int>(ceilf(vertOriginY.toFloat()));
257 return static_cast<int>(ceilf(unitsPerEm() * 0.2f));
H A DSVGLengthContext.cpp262 float xHeight = ceilf(style->fontMetrics().xHeight());
281 return value * ceilf(style->fontMetrics().xHeight());
/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
130 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
131 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
132 glyphOverflow->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX()));
133 glyphOverflow->right = max<int>(0, ceilf(controller.maxGlyphBoundingBoxX() - controller.runWidthSoFar()));
/macosx-10.9.5/WebCore-7537.78.1/rendering/style/
H A DShadowData.h79 return ceilf(m_radius * radiusExtentMultiplier);
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderTextControlMultiLine.cpp71 return static_cast<LayoutUnit>(ceilf(charWidth * factor)) + scrollbarThickness();
H A DRenderCombineText.cpp73 textOrigin.move(boxRect.height() / 2 - ceilf(m_combinedTextWidth) / 2, style()->font().pixelSize());
/macosx-10.9.5/WebCore-7537.78.1/rendering/svg/
H A DSVGInlineTextBox.h44 virtual int selectionHeight() { return static_cast<int>(ceilf(m_logicalHeight)); }
/macosx-10.9.5/WebCore-7537.78.1/html/
H A DHTMLCanvasElement.cpp513 float w = ceilf(deviceRect.maxX() - x);
514 float h = ceilf(deviceRect.maxY() - y);
525 float width = ceilf(logicalSize.width() * m_deviceScaleFactor);
526 float height = ceilf(logicalSize.height() * m_deviceScaleFactor);
532 float width = ceilf(deviceSize.width() / m_deviceScaleFactor);
533 float height = ceilf(deviceSize.height() / m_deviceScaleFactor);
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DScrollElasticityController.mm297 FloatSize dampedDelta(ceilf(elasticDeltaForReboundDelta(m_stretchScrollForce.width())), ceilf(elasticDeltaForReboundDelta(m_stretchScrollForce.height())));
314 return num > 0 ? ceilf(num - 0.5f) : floorf(num + 0.5f);
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebTextCompletionController.mm139 float width = ceilf([[_completions objectAtIndex:i] sizeWithAttributes:attributes].width);
147 maxWidth = ceilf([NSScrollView frameSizeForContentSize:NSMakeSize(maxWidth, 100.0f) hasHorizontalScroller:NO hasVerticalScroller:YES borderType:NSNoBorder].width);
148 maxWidth = ceilf([NSWindow frameRectForContentRect:NSMakeRect(0.0f, 0.0f, maxWidth, 100.0f) styleMask:NSBorderlessWindowMask].size.width);
H A DWebDynamicScrollBarsView.mm347 visibleSize.width = ceilf(visibleSize.width);
348 visibleSize.height = ceilf(visibleSize.height);
349 frameSize.width = ceilf(frameSize.width);
350 frameSize.height = ceilf(frameSize.height);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DFontFastPath.cpp286 glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-it.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().ascent()));
287 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
288 glyphOverflow->left = ceilf(it.firstGlyphOverflow());
289 glyphOverflow->right = ceilf(it.lastGlyphOverflow());
304 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning.
H A DFloatPoint.h248 return IntPoint(clampToInteger(ceilf(p.x())), clampToInteger(ceilf(p.y())));
H A DFloatSize.h208 return IntSize(clampToInteger(ceilf(p.width())), clampToInteger(ceilf(p.height())));
H A DWidthIterator.cpp276 width = ceilf(width);
291 widthSinceLastRounding = ceilf(totalWidth);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Target/
H A DTargetLibraryInfo.h104 /// float ceilf(float x);
105 ceilf, enumerator in enum:llvm::LibFunc::Func
376 case LibFunc::ceil: case LibFunc::ceilf: case LibFunc::ceill:
/macosx-10.9.5/WebCore-7537.78.1/rendering/mathml/
H A DRenderMathMLFraction.cpp138 m_lineThickness *= ceilf(gFractionBarWidth * style()->fontSize());
/macosx-10.9.5/WebCore-7537.78.1/svg/graphics/
H A DSVGImage.cpp111 return IntSize(static_cast<int>(ceilf(currentSize.width())), static_cast<int>(ceilf(currentSize.height())));
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ca/win/
H A DPlatformCALayerWinInternal.cpp352 int tileColumns = ceilf(constrainedSize.width / m_tileSize.width);
353 int tileRows = ceilf(constrainedSize.height / m_tileSize.height);
367 tileRows = ceilf(sqrtf(cMaxTileCount * constrainedSize.height / constrainedSize.width));
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/
H A DLayerWebKitThread.cpp107 const int atLeastOneDevicePixel = static_cast<int>(ceilf(1.0 / scale));
543 const int atLeastOneDevicePixel = static_cast<int>(ceilf(1.0 / scale));

Completed in 332 milliseconds

123