]> git.lyx.org Git - lyx.git/blob - src/rowpainter.h
next try to single Inset::metrics() computation
[lyx.git] / src / rowpainter.h
1 // -*- C++ -*-
2 /**
3  * \file rowpainter.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author various
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef ROWPAINTER_H
14 #define ROWPAINTER_H
15
16 #include <config.h>
17
18 class LyXText;
19 class BufferView;
20 class VSpace;
21
22 /// return the pixel height of a space marker before/after a par
23 int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
24
25 /// paint the rows of the main text, return last drawn y value
26 int paintText(BufferView & bv, LyXText & text);
27
28 /// paint the rows of a text inset
29 void paintTextInset(BufferView & bv, LyXText & text, int x, int y);
30
31 #endif // ROWPAINTER_H