diff options
Diffstat (limited to 'WebCore/rendering/RenderSVGInline.h')
-rw-r--r-- | WebCore/rendering/RenderSVGInline.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/WebCore/rendering/RenderSVGInline.h b/WebCore/rendering/RenderSVGInline.h index 1afbb97..2efb1aa 100644 --- a/WebCore/rendering/RenderSVGInline.h +++ b/WebCore/rendering/RenderSVGInline.h @@ -31,26 +31,28 @@ namespace WebCore { -class RenderSVGInline : public RenderInline, protected SVGRenderBase { +class RenderSVGInline : public RenderInline + , protected SVGRenderBase { public: RenderSVGInline(Node*); virtual const char* renderName() const { return "RenderSVGInline"; } virtual bool requiresLayer() const { return false; } - // These are shared between RenderSVGTSpan and RenderSVGTextPath - virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty); - virtual void absoluteQuads(Vector<FloatQuad>&); - // Chapter 10.4 of the SVG Specification say that we should use the // object bounding box of the parent text element. - // We search for the root text element and take it's bounding box. + // We search for the root text element and take its bounding box. // It is also necessary to take the stroke and repaint rect of // this element, since we need it for filters. virtual FloatRect objectBoundingBox() const; virtual FloatRect strokeBoundingBox() const; virtual FloatRect repaintRectInLocalCoordinates() const; - + + virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer); + virtual void computeRectForRepaint(RenderBoxModelObject* repaintContainer, IntRect&, bool fixed = false); + virtual void mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool useTransforms, bool fixed, TransformState&) const; + virtual void absoluteQuads(Vector<FloatQuad>&); + private: virtual InlineFlowBox* createInlineFlowBox(); }; |