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 InlinePainter_h
6 #define InlinePainter_h
8 #include "core/rendering/style/RenderStyleConstants.h"
13 class GraphicsContext;
21 InlinePainter(RenderInline& renderInline) : m_renderInline(renderInline) { }
23 void paint(PaintInfo&, const LayoutPoint& paintOffset);
24 void paintOutline(PaintInfo&, const LayoutPoint& paintOffset);
27 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutRect& prevLine, const LayoutRect& thisLine,
28 const LayoutRect& nextLine, const Color);
29 RenderInline& m_renderInline;
34 #endif // InlinePainter_h