Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / paint / SVGTextPainter.h
blob74ee064d1ba23ebef317da6f72b4184ea7cc17cf
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 SVGTextPainter_h
6 #define SVGTextPainter_h
8 #include "wtf/Allocator.h"
10 namespace blink {
12 struct PaintInfo;
13 class LayoutSVGText;
15 class SVGTextPainter {
16 STACK_ALLOCATED();
17 public:
18 SVGTextPainter(LayoutSVGText& layoutSVGText) : m_layoutSVGText(layoutSVGText) { }
19 void paint(const PaintInfo&);
21 private:
22 LayoutSVGText& m_layoutSVGText;
25 } // namespace blink
27 #endif // SVGTextPainter_h