Searched refs:boxSize (Results 1 - 6 of 6) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LengthFunctions.cpp | 127 FloatSize floatSizeForLengthSize(const LengthSize& lengthSize, const FloatSize& boxSize) argument 129 return FloatSize(floatValueForLength(lengthSize.width(), boxSize.width()), floatValueForLength(lengthSize.height(), boxSize.height()));
|
H A D | LengthFunctions.h | 41 PLATFORM_EXPORT FloatSize floatSizeForLengthSize(const LengthSize&, const FloatSize& boxSize);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | BasicShapes.cpp | 75 float BasicShapeCircle::floatValueForRadiusInBox(FloatSize boxSize) const 78 return floatValueForLength(m_radius.value(), hypotf(boxSize.width(), boxSize.height()) / sqrtf(2)); 80 FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boxSize); 83 return std::min(std::min(center.x(), boxSize.width() - center.x()), std::min(center.y(), boxSize.height() - center.y())); 86 return std::max(std::max(center.x(), boxSize.width() - center.x()), std::max(center.y(), boxSize.height() - center.y()));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | Shape.cpp | 155 FloatSize boxSize(boxWidth, boxHeight); 156 FloatSize topLeftRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.topLeftRadius(), boxSize), writingMode); 157 FloatSize topRightRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.topRightRadius(), boxSize), writingMode); 158 FloatSize bottomLeftRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.bottomLeftRadius(), boxSize), writingMode); 159 FloatSize bottomRightRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.bottomRightRadius(), boxSize), writingMode);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | BasicShapeFunctions.cpp | 270 FloatPoint floatPointForCenterCoordinate(const BasicShapeCenterCoordinate& centerX, const BasicShapeCenterCoordinate& centerY, FloatSize boxSize) argument 272 float x = floatValueForLength(centerX.computedLength(), boxSize.width()); 273 float y = floatValueForLength(centerY.computedLength(), boxSize.height());
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | BoxPainter.cpp | 230 RoundedRect BoxPainter::backgroundRoundedRectAdjustedForBleedAvoidance(RenderObject& obj, GraphicsContext* context, const LayoutRect& borderRect, BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* box, const LayoutSize& boxSize, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) argument 234 return BoxPainter::getBackgroundRoundedRect(obj, shrinkRectByOnePixel(context, borderRect), box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge); 239 return BoxPainter::getBackgroundRoundedRect(obj, borderRect, box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge); 275 BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* box, const LayoutSize& boxSize, CompositeOperator op, RenderObject* backgroundObject, bool skipBaseColor) 331 RoundedRect border = backgroundRoundedRectAdjustedForBleedAvoidance(obj, context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge); 351 RoundedRect border = isBorderFill ? backgroundRoundedRectAdjustedForBleedAvoidance(obj, context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge) : getBackgroundRoundedRect(obj, rect, box, boxSize.width(), boxSize 274 paintFillLayerExtended(RenderBoxModelObject& obj, const PaintInfo& paintInfo, const Color& color, const FillLayer& bgLayer, const LayoutRect& rect, BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* box, const LayoutSize& boxSize, CompositeOperator op, RenderObject* backgroundObject, bool skipBaseColor) argument [all...] |
Completed in 111 milliseconds