/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | RectangleShape.cpp | 45 ASSERT(shapeMargin() >= 0); 46 if (!shapeMargin()) 49 float boundsX = x() - shapeMargin(); 50 float boundsY = y() - shapeMargin(); 51 float boundsWidth = width() + shapeMargin() * 2; 52 float boundsHeight = height() + shapeMargin() * 2; 71 float marginRadiusX = rx() + shapeMargin(); 72 float marginRadiusY = ry() + shapeMargin(); 94 if (shapeMargin()) 95 paths.marginShape.addRoundedRect(shapeMarginBounds(), FloatSize(m_radii.width() + shapeMargin(), m_radi [all...] |
H A D | BoxShape.cpp | 40 if (shapeMargin() > 0) 41 marginBounds.inflate(shapeMargin()); 48 if (shapeMargin() > 0) { 49 marginBounds.inflate(shapeMargin()); 50 marginBounds.expandRadii(shapeMargin()); 102 if (shapeMargin())
|
H A D | PolygonShape.cpp | 119 box.inflate(shapeMargin()); 128 if (m_polygon.isEmpty() || !overlapsYRange(m_polygon.boundingBox(), y1 - shapeMargin(), y2 + shapeMargin())) 132 if (!m_polygon.overlappingEdges(y1 - shapeMargin(), y2 + shapeMargin(), overlappingEdges)) 140 if (!shapeMargin()) { 143 excludedInterval.unite(OffsetPolygonEdge(edge, outwardEdgeNormal(edge) * shapeMargin()).clippedEdgeXRange(y1, y2)); 144 excludedInterval.unite(OffsetPolygonEdge(edge, inwardEdgeNormal(edge) * shapeMargin()).clippedEdgeXRange(y1, y2)); 145 excludedInterval.unite(clippedCircleXRange(edge.vertex1(), shapeMargin(), y1, y2)); 146 excludedInterval.unite(clippedCircleXRange(edge.vertex2(), shapeMargin(), y [all...] |
H A D | RasterShape.cpp | 76 PassOwnPtr<RasterShapeIntervals> RasterShapeIntervals::computeShapeMarginIntervals(int shapeMargin) const 78 int marginIntervalsSize = (offset() > shapeMargin) ? size() : size() - offset() * 2 + shapeMargin * 2; 79 OwnPtr<RasterShapeIntervals> result = adoptPtr(new RasterShapeIntervals(marginIntervalsSize, std::max(shapeMargin, offset()))); 80 MarginIntervalGenerator marginIntervalGenerator(shapeMargin); 88 int marginY0 = std::max(minY(), y - shapeMargin); 89 int marginY1 = std::min(maxY(), y + shapeMargin + 1); 141 ASSERT(shapeMargin() >= 0); 142 if (!shapeMargin()) 145 int shapeMarginInt = clampToPositiveInteger(ceil(shapeMargin())); [all...] |
H A D | BoxShapeTest.cpp | 44 PassOwnPtr<Shape> createBoxShape(const RoundedRect& bounds, float shapeMargin) argument 46 return Shape::createLayoutBoxShape(bounds, TopToBottomWritingMode, shapeMargin);
|
H A D | RasterShape.h | 65 PassOwnPtr<RasterShapeIntervals> computeShapeMarginIntervals(int shapeMargin) const; 96 if (shapeMargin())
|
H A D | Shape.h | 90 float shapeMargin() const { return m_margin; } function in class:blink::Shape
|
H A D | ShapeOutsideInfo.cpp | 153 float margin = floatValueForLength(m_renderer.style()->shapeMargin(), maximumValue.toFloat());
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | InspectorOverlay.h | 68 Color shapeMargin; member in struct:blink::HighlightConfig
|
H A D | InspectorOverlay.cpp | 609 highlight.appendPath(ShapePathBuilder::buildPath(*node->document().view(), *node->renderer(), *shapeOutsideInfo, paths.marginShape), config.shapeMargin, Color::transparent);
|
H A D | InspectorDOMAgent.cpp | 1280 highlightConfig->shapeMargin = parseConfigColor("shapeMarginColor", highlightInspectorObject);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
H A D | CSSPropertyEquality.cpp | 203 return a.shapeMargin() == b.shapeMargin();
|
H A D | CSSAnimatableValueFactory.cpp | 480 return createFromLength(style.shapeMargin(), style);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBox.cpp | 226 Length shapeMargin = style.shapeMargin(); local 227 Length oldShapeMargin = oldStyle ? oldStyle->shapeMargin() : RenderStyle::initialShapeMargin(); 233 if (shapeOutside == oldShapeOutside && shapeMargin == oldShapeMargin && shapeImageThreshold == oldShapeImageThreshold)
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.h | 1470 const Length& shapeMargin() const { return rareNonInheritedData->m_shapeMargin; } function in class:blink::RenderStyle 1471 void setShapeMargin(const Length& shapeMargin) { SET_VAR(rareNonInheritedData, m_shapeMargin, shapeMargin); } argument
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSComputedStyleDeclaration.cpp | 2630 return cssValuePool().createValue(style->shapeMargin(), *style);
|