HomeSort by relevance Sort by last modified time
    Searched refs:shapeMargin (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
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_radii.height() + shapeMargin()))
    [all...]
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())
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(), y1, y2))
    [all...]
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...]
BoxShapeTest.cpp 44 PassOwnPtr<Shape> createBoxShape(const RoundedRect& bounds, float shapeMargin)
46 return Shape::createLayoutBoxShape(bounds, TopToBottomWritingMode, shapeMargin);
RasterShape.h 65 PassOwnPtr<RasterShapeIntervals> computeShapeMarginIntervals(int shapeMargin) const;
96 if (shapeMargin())
Shape.h 90 float shapeMargin() const { return m_margin; }
ShapeOutsideInfo.cpp 153 float margin = floatValueForLength(m_renderer.style()->shapeMargin(), maximumValue.toFloat());
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorOverlay.h 68 Color shapeMargin;
InspectorOverlay.cpp 609 highlight.appendPath(ShapePathBuilder::buildPath(*node->document().view(), *node->renderer(), *shapeOutsideInfo, paths.marginShape), config.shapeMargin, Color::transparent);
InspectorDOMAgent.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/css/
CSSPropertyEquality.cpp 203 return a.shapeMargin() == b.shapeMargin();
CSSAnimatableValueFactory.cpp 480 return createFromLength(style.shapeMargin(), style);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBox.cpp 226 Length shapeMargin = style.shapeMargin();
227 Length oldShapeMargin = oldStyle ? oldStyle->shapeMargin() : RenderStyle::initialShapeMargin();
233 if (shapeOutside == oldShapeOutside && shapeMargin == oldShapeMargin && shapeImageThreshold == oldShapeImageThreshold)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyle.h     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSComputedStyleDeclaration.cpp     [all...]

Completed in 1754 milliseconds