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. 4 5 #ifndef SVGTextPainter_h 6 #define SVGTextPainter_h 7 8 namespace blink { 9 10 struct PaintInfo; 11 class RenderSVGText; 12 13 class SVGTextPainter { 14 public: SVGTextPainter(RenderSVGText & renderSVGText)15 SVGTextPainter(RenderSVGText& renderSVGText) : m_renderSVGText(renderSVGText) { } 16 void paint(PaintInfo&); 17 18 private: 19 RenderSVGText& m_renderSVGText; 20 }; 21 22 } // namespace blink 23 24 #endif // SVGTextPainter_h 25