Searched refs:objectBoundingBox (Results 1 - 25 of 25) sorted by path

/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DSVGImagePainter.cpp39 if (!m_renderSVGImage.objectBoundingBox().isEmpty()) {
59 FloatRect destRect = renderer.objectBoundingBox();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderObject.cpp3054 FloatRect RenderObject::objectBoundingBox() const function in class:blink::RenderObject
H A DRenderObject.h485 // Per SVG 1.1 objectBoundingBox ignores clipping, masking, filter effects, opacity and stroke-width.
486 // This is used for all computation of objectBoundingBox relative units and by SVGLocatable::getBBox().
489 // objectBoundingBox is returned local coordinates.
490 // The name objectBoundingBox is taken from the SVG 1.1 spec.
491 virtual FloatRect objectBoundingBox() const;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGContainer.cpp190 if (objectBoundingBox().contains(localPoint)) {
H A DRenderSVGContainer.h66 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_objectBoundingBox; }
H A DRenderSVGForeignObject.h43 virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(FloatPoint(), m_viewport.size()); }
H A DRenderSVGGradientStop.h47 virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(); }
H A DRenderSVGImage.h50 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundingBox; }
H A DRenderSVGInline.cpp64 FloatRect RenderSVGInline::objectBoundingBox() const function in class:blink::RenderSVGInline
67 return object->objectBoundingBox();
H A DRenderSVGInline.h44 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL;
H A DRenderSVGInlineText.h52 virtual FloatRect objectBoundingBox() const OVERRIDE { return floatLinesBoundingBox(); }
H A DRenderSVGResourceClipper.cpp83 return applyClippingToContext(object, object->objectBoundingBox(), object->paintInvalidationRectInLocalCoordinates(), context, clipperState);
87 const AffineTransform& animatedLocalTransform, const FloatRect& objectBoundingBox) {
134 transform.translate(objectBoundingBox.x(), objectBoundingBox.y());
135 transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height());
164 // userSpaceOnUse units (the zoom is accounted for objectBoundingBox-resolved lengths).
259 // with local clips/mask, which may yield incorrect results when mixing objectBoundingBox and
326 bool RenderSVGResourceClipper::hitTestClipContent(const FloatRect& objectBoundingBox, const FloatPoint& nodeAtPoint) argument
334 transform.translate(objectBoundingBox
86 tryPathOnlyClipping(GraphicsContext* context, const AffineTransform& animatedLocalTransform, const FloatRect& objectBoundingBox) argument
370 FloatRect objectBoundingBox = object->objectBoundingBox(); local
[all...]
H A DRenderSVGResourceFilter.cpp203 FloatRect targetBoundingBox = object->objectBoundingBox();
268 return SVGLengthContext::resolveRectangle<SVGFilterElement>(element, element->filterUnits()->currentValue()->enumValue(), object->objectBoundingBox());
H A DRenderSVGResourceGradient.cpp78 // Spec: When the geometry of the applicable element has no width or height and objectBoundingBox is specified,
80 FloatRect objectBoundingBox = object->objectBoundingBox(); local
81 if (gradientUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && objectBoundingBox.isEmpty())
93 if (gradientUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && !objectBoundingBox.isEmpty()) {
94 gradientData->userspaceTransform.translate(objectBoundingBox.x(), objectBoundingBox.y());
95 gradientData->userspaceTransform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height());
H A DRenderSVGResourceMasker.cpp101 drawMaskForRenderer(context, object->objectBoundingBox());
134 // with local clips/mask, which may yield incorrect results when mixing objectBoundingBox and
169 FloatRect objectBoundingBox = object->objectBoundingBox(); local
170 FloatRect maskBoundaries = SVGLengthContext::resolveRectangle<SVGMaskElement>(maskElement, maskElement->maskUnits()->currentValue()->enumValue(), objectBoundingBox);
182 transform.translate(objectBoundingBox.x(), objectBoundingBox.y());
183 transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height());
H A DRenderSVGResourcePattern.cpp136 // Spec: When the geometry of the applicable element has no width or height and objectBoundingBox is specified,
138 FloatRect objectBoundingBox = object->objectBoundingBox(); local
139 if (m_attributes.patternUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && objectBoundingBox.isEmpty())
181 const FloatRect& objectBoundingBox,
185 return SVGLengthContext::resolveRectangle(patternElement, attributes.patternUnits(), objectBoundingBox, attributes.x(), attributes.y(), attributes.width(), attributes.height());
197 FloatRect objectBoundingBox = renderer->objectBoundingBox(); local
198 patternBoundaries = calculatePatternBoundaries(attributes, objectBoundingBox, patternElement);
204 // Apply viewBox/objectBoundingBox transformation
180 calculatePatternBoundaries(const PatternAttributes& attributes, const FloatRect& objectBoundingBox, const SVGPatternElement* patternElement) argument
[all...]
H A DRenderSVGRoot.h97 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundingBox; }
H A DRenderSVGShape.cpp331 if ((hitRules.canHitBoundingBox && objectBoundingBox().contains(localPoint))
H A DRenderSVGShape.h98 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_fillBoundingBox; }
H A DRenderSVGText.cpp388 FloatRect oldBoundaries = objectBoundingBox();
405 updateCachedBoundariesInParents = oldBoundaries != objectBoundingBox();
430 if ((hitRules.canHitBoundingBox && !objectBoundingBox().isEmpty())
437 if (hitRules.canHitBoundingBox && !objectBoundingBox().contains(localPoint))
476 FloatRect strokeBoundaries = objectBoundingBox();
H A DRenderSVGText.h79 virtual FloatRect objectBoundingBox() const OVERRIDE { return frameRect(); }
H A DSVGRenderSupport.cpp106 inline void SVGRenderSupport::updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, RenderObject* other, FloatRect otherBoundingBox) argument
113 objectBoundingBox = otherBoundingBox;
118 objectBoundingBox.uniteEvenIfEmpty(otherBoundingBox);
121 void SVGRenderSupport::computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& paintInvalidationBoundingBox) argument
123 objectBoundingBox = FloatRect();
139 updateObjectBoundingBox(objectBoundingBox, objectBoundingBoxValid, current,
140 transform.mapRect(current->objectBoundingBox()));
298 return clipper->hitTestClipContent(object->objectBoundingBox(), point);
H A DSVGRenderSupport.h70 static void computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& paintInvalidationBoundingBox);
98 static void updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, RenderObject* other, FloatRect otherBoundingBox);
H A DSVGRenderingContext.cpp139 m_paintInfo->context->clipPath(clipPath->path(object->objectBoundingBox()), clipPath->windRule());
280 FloatRect boundingBox = m_object->objectBoundingBox();
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGraphicsElement.cpp140 // Note: objectBoundingBox is an emptyRect for elements like pattern or clipPath.
143 FloatRect scaledBBox = renderer()->objectBoundingBox();
149 style->applyTransform(transform, renderer()->objectBoundingBox());
241 return renderer()->objectBoundingBox();

Completed in 512 milliseconds