1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SVGImagePainter_h
6 #define SVGImagePainter_h
8 #include "wtf/Allocator.h"
15 class SVGImagePainter
{
18 SVGImagePainter(LayoutSVGImage
& layoutSVGImage
) : m_layoutSVGImage(layoutSVGImage
) { }
20 void paint(const PaintInfo
&);
23 // Assumes the PaintInfo context has had all local transforms applied.
24 void paintForeground(const PaintInfo
&);
26 LayoutSVGImage
& m_layoutSVGImage
;
31 #endif // SVGImagePainter_h