blob: f3be59399bf130658dd73a97207370981bca5e85 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SVGImagePainter_h
#define SVGImagePainter_h
namespace blink {
class AffineTransform;
class FloatRect;
class ImageBuffer;
class IntSize;
struct PaintInfo;
class RenderSVGImage;
class SVGImagePainter {
public:
SVGImagePainter(RenderSVGImage& renderSVGImage) : m_renderSVGImage(renderSVGImage) { }
void paint(PaintInfo&);
private:
// Assumes the PaintInfo context has had all local transforms applied.
void paintForeground(PaintInfo&);
RenderSVGImage& m_renderSVGImage;
};
} // namespace blink
#endif // SVGImagePainter_h