diff options
Diffstat (limited to 'WebCore/rendering/RenderSVGResourcePattern.h')
-rw-r--r-- | WebCore/rendering/RenderSVGResourcePattern.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/WebCore/rendering/RenderSVGResourcePattern.h b/WebCore/rendering/RenderSVGResourcePattern.h index 52bf09d..9a067c2 100644 --- a/WebCore/rendering/RenderSVGResourcePattern.h +++ b/WebCore/rendering/RenderSVGResourcePattern.h @@ -38,7 +38,6 @@ namespace WebCore { struct PatternData { RefPtr<Pattern> pattern; - FloatRect boundaries; AffineTransform transform; }; @@ -62,10 +61,10 @@ public: static RenderSVGResourceType s_resourceType; private: - PassOwnPtr<ImageBuffer> createTileImage(PatternData*, const SVGPatternElement*, RenderObject*) const; - void buildPattern(PatternData*, PassOwnPtr<ImageBuffer> tileImage) const; - FloatRect calculatePatternBoundariesIncludingOverflow(PatternAttributes&, const FloatRect& objectBoundingBox, - const AffineTransform& viewBoxCTM, const FloatRect& patternBoundaries) const; + AffineTransform buildTileImageTransform(RenderObject*, const PatternAttributes&, const SVGPatternElement*, FloatRect& patternBoundaries) const; + + PassOwnPtr<ImageBuffer> createTileImage(RenderObject*, const PatternAttributes&, const FloatRect& tileBoundaries, + const FloatRect& absoluteTileBoundaries, const AffineTransform& tileImageTransform) const; HashMap<RenderObject*, PatternData*> m_pattern; }; |