/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | SVGImagePainter.cpp | 39 if (!m_renderSVGImage.objectBoundingBox().isEmpty()) { 59 FloatRect destRect = renderer.objectBoundingBox();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderObject.cpp | 3054 FloatRect RenderObject::objectBoundingBox() const function in class:blink::RenderObject
|
H A D | RenderObject.h | 485 // 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 D | RenderSVGContainer.cpp | 190 if (objectBoundingBox().contains(localPoint)) {
|
H A D | RenderSVGContainer.h | 66 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_objectBoundingBox; }
|
H A D | RenderSVGForeignObject.h | 43 virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(FloatPoint(), m_viewport.size()); }
|
H A D | RenderSVGGradientStop.h | 47 virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(); }
|
H A D | RenderSVGImage.h | 50 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundingBox; }
|
H A D | RenderSVGInline.cpp | 64 FloatRect RenderSVGInline::objectBoundingBox() const function in class:blink::RenderSVGInline 67 return object->objectBoundingBox();
|
H A D | RenderSVGInline.h | 44 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL;
|
H A D | RenderSVGInlineText.h | 52 virtual FloatRect objectBoundingBox() const OVERRIDE { return floatLinesBoundingBox(); }
|
H A D | RenderSVGResourceClipper.cpp | 83 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 D | RenderSVGResourceFilter.cpp | 203 FloatRect targetBoundingBox = object->objectBoundingBox(); 268 return SVGLengthContext::resolveRectangle<SVGFilterElement>(element, element->filterUnits()->currentValue()->enumValue(), object->objectBoundingBox());
|
H A D | RenderSVGResourceGradient.cpp | 78 // 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 D | RenderSVGResourceMasker.cpp | 101 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 D | RenderSVGResourcePattern.cpp | 136 // 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 D | RenderSVGRoot.h | 97 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundingBox; }
|
H A D | RenderSVGShape.cpp | 331 if ((hitRules.canHitBoundingBox && objectBoundingBox().contains(localPoint))
|
H A D | RenderSVGShape.h | 98 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_fillBoundingBox; }
|
H A D | RenderSVGText.cpp | 388 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 D | RenderSVGText.h | 79 virtual FloatRect objectBoundingBox() const OVERRIDE { return frameRect(); }
|
H A D | SVGRenderSupport.cpp | 106 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 D | SVGRenderSupport.h | 70 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 D | SVGRenderingContext.cpp | 139 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 D | SVGGraphicsElement.cpp | 140 // 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();
|