Home | History | Annotate | Download | only in inspector

Lines Matching refs:shapeOutsideInfo

52 #include "core/rendering/shapes/ShapeOutsideInfo.h"
97 ShapePathBuilder(FrameView& view, RenderObject& renderer, const ShapeOutsideInfo& shapeOutsideInfo)
100 , m_shapeOutsideInfo(shapeOutsideInfo) { }
102 static PassRefPtr<TypeBuilder::Array<JSONValue> > buildPath(FrameView& view, RenderObject& renderer, const ShapeOutsideInfo& shapeOutsideInfo, const Path& path)
104 ShapePathBuilder builder(view, renderer, shapeOutsideInfo);
119 const ShapeOutsideInfo& m_shapeOutsideInfo;
574 static const ShapeOutsideInfo* shapeOutsideInfoForNode(Node* node, Shape::DisplayPaths* paths, FloatQuad* bounds)
577 if (!renderer || !renderer->isBox() || !toRenderBox(renderer)->shapeOutsideInfo())
582 const ShapeOutsideInfo* shapeOutsideInfo = renderBox->shapeOutsideInfo();
584 shapeOutsideInfo->computedShape().buildDisplayPaths(*paths);
586 LayoutRect shapeBounds = shapeOutsideInfo->computedShapePhysicalBoundingBox();
590 return shapeOutsideInfo;
598 const ShapeOutsideInfo* shapeOutsideInfo = shapeOutsideInfoForNode(node, &paths, &boundsQuad);
599 if (!shapeOutsideInfo)
607 highlight.appendPath(ShapePathBuilder::buildPath(*node->document().view(), *node->renderer(), *shapeOutsideInfo, paths.shape), config.shape, Color::transparent);
609 highlight.appendPath(ShapePathBuilder::buildPath(*node->document().view(), *node->renderer(), *shapeOutsideInfo, paths.marginShape), config.shapeMargin, Color::transparent);
825 if (const ShapeOutsideInfo* shapeOutsideInfo = shapeOutsideInfoForNode(node, &paths, &boundsQuad)) {
826 RefPtr<TypeBuilder::DOM::ShapeOutsideInfo> shapeTypeBuilder = TypeBuilder::DOM::ShapeOutsideInfo::create()
828 .setShape(ShapePathBuilder::buildPath(*view, *renderer, *shapeOutsideInfo, paths.shape))
829 .setMarginShape(ShapePathBuilder::buildPath(*view, *renderer, *shapeOutsideInfo, paths.marginShape));