/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceClipper.cpp | 81 return applyClippingToContext(object, object->objectBoundingBox(), object->repaintRectInLocalCoordinates(), context); 84 bool RenderSVGResourceClipper::pathOnlyClipping(GraphicsContext* context, const AffineTransform& animatedLocalTransform, const FloatRect& objectBoundingBox) 132 transform.translate(objectBoundingBox.x(), objectBoundingBox.y()); 133 transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); 147 bool RenderSVGResourceClipper::applyClippingToContext(RenderObject* object, const FloatRect& objectBoundingBox, 158 if (pathOnlyClipping(context, animatedLocalTransform, objectBoundingBox)) 182 if (!clipper->applyClippingToContext(this, objectBoundingBox, repaintRect, maskContext)) 185 succeeded = drawContentIntoMaskImage(clipperData, objectBoundingBox); [all...] |
RenderSVGResourceMasker.cpp | 122 // Eventually adjust the mask image context according to the target objectBoundingBox. 125 FloatRect objectBoundingBox = object->objectBoundingBox(); 126 maskContentTransformation.translate(objectBoundingBox.x(), objectBoundingBox.y()); 127 maskContentTransformation.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); 173 FloatRect objectBoundingBox = object->objectBoundingBox(); 174 FloatRect maskBoundaries = SVGLengthContext::resolveRectangle<SVGMaskElement>(maskElement, maskElement->maskUnitsCurrentValue(), objectBoundingBox); [all...] |
RenderSVGResourceGradient.cpp | 77 // Spec: When the geometry of the applicable element has no width or height and objectBoundingBox is specified, 79 FloatRect objectBoundingBox = object->objectBoundingBox(); 80 if (gradientUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && objectBoundingBox.isEmpty()) 94 if (gradientUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && !objectBoundingBox.isEmpty()) { 95 gradientData->userspaceTransform.translate(objectBoundingBox.x(), objectBoundingBox.y()); 96 gradientData->userspaceTransform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height());
|
RenderSVGResourcePattern.cpp | 142 // Spec: When the geometry of the applicable element has no width or height and objectBoundingBox is specified, 144 FloatRect objectBoundingBox = object->objectBoundingBox(); 145 if (m_attributes.patternUnits() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX && objectBoundingBox.isEmpty()) 202 const FloatRect& objectBoundingBox, 206 return SVGLengthContext::resolveRectangle(patternElement, attributes.patternUnits(), objectBoundingBox, attributes.x(), attributes.y(), attributes.width(), attributes.height()); 218 FloatRect objectBoundingBox = renderer->objectBoundingBox(); 219 patternBoundaries = calculatePatternBoundaries(attributes, objectBoundingBox, patternElement); 225 // Apply viewBox/objectBoundingBox transformations [all...] |
RenderSVGGradientStop.h | 46 virtual FloatRect objectBoundingBox() const { return FloatRect(); }
|
RenderSVGResourceClipper.h | 47 // FIXME: We made applyClippingToContext public because we cannot call applyResource on HTML elements (it asserts on RenderObject::objectBoundingBox) 60 bool drawContentIntoMaskImage(ClipperData*, const FloatRect& objectBoundingBox);
|
SVGRenderSupport.cpp | 114 static inline void updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, RenderObject* other, FloatRect otherBoundingBox) 121 objectBoundingBox = otherBoundingBox; 126 objectBoundingBox.uniteEvenIfEmpty(otherBoundingBox); 129 void SVGRenderSupport::computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& repaintBoundingBox) 131 objectBoundingBox = FloatRect(); 144 updateObjectBoundingBox(objectBoundingBox, objectBoundingBoxValid, current, current->objectBoundingBox()); 147 updateObjectBoundingBox(objectBoundingBox, objectBoundingBoxValid, current, transform.mapRect(current->objectBoundingBox())); 329 return clipper->hitTestClipContent(object->objectBoundingBox(), point) [all...] |
RenderSVGInline.cpp | 54 FloatRect RenderSVGInline::objectBoundingBox() const 57 return object->objectBoundingBox();
|
RenderSVGForeignObject.h | 45 virtual FloatRect objectBoundingBox() const { return FloatRect(FloatPoint(), m_viewport.size()); }
|
RenderSVGImage.h | 56 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; }
|
RenderSVGInline.h | 43 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL;
|
RenderSVGInlineText.h | 53 virtual FloatRect objectBoundingBox() const { return floatLinesBoundingBox(); }
|
SVGRenderSupport.h | 61 static void computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& repaintBoundingBox);
|
RenderSVGContainer.h | 62 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_objectBoundingBox; }
|
RenderSVGRoot.h | 93 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; }
|
RenderSVGShape.h | 98 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_fillBoundingBox; }
|
RenderSVGText.h | 83 virtual FloatRect objectBoundingBox() const { return frameRect(); }
|
RenderSVGText.cpp | 412 FloatRect oldBoundaries = objectBoundingBox(); 420 updateCachedBoundariesInParents = oldBoundaries != objectBoundingBox(); 507 FloatRect strokeBoundaries = objectBoundingBox();
|
SVGRenderingContext.cpp | 123 m_paintInfo->context->clipPath(clipPath->path(object->objectBoundingBox()), clipPath->windRule()); 290 // When nesting resources, with objectBoundingBox as content unit types, there's no use in caching the 320 FloatRect boundingBox = m_object->objectBoundingBox();
|
RenderSVGResourceFilter.cpp | 140 FloatRect targetBoundingBox = object->objectBoundingBox(); 204 // Even if the target objectBoundingBox() is empty, we still have to draw the last effect result image in postApplyResource. 315 return SVGLengthContext::resolveRectangle<SVGFilterElement>(element, element->filterUnitsCurrentValue(), object->objectBoundingBox());
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLocatable.cpp | 74 return element->renderer()->objectBoundingBox();
|
SVGGraphicsElement.cpp | 70 // Note: objectBoundingBox is an emptyRect for elements like pattern or clipPath. 73 style->applyTransform(transform, renderer()->objectBoundingBox());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderObject.h | 461 // Per SVG 1.1 objectBoundingBox ignores clipping, masking, filter effects, opacity and stroke-width. 462 // This is used for all computation of objectBoundingBox relative units and by SVGLocatable::getBBox(). 465 // objectBoundingBox is returned local coordinates. 466 // The name objectBoundingBox is taken from the SVG 1.1 spec. 467 virtual FloatRect objectBoundingBox() const; [all...] |
RenderObject.cpp | [all...] |