]> git.lyx.org Git - lyx.git/blob - src/rowpainter.h
use doubles again for x-coordinates. They are needed after all...
[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 #include "RowList.h"
19
20 class LyXText;
21 class BufferView;
22 class VSpace;
23
24 /// initialise painter and paint the row
25 void paintRows(BufferView const & bv, LyXText const & text,
26         RowList::iterator rit, int y_offset, int x_offset, int y);
27
28 /// return the pixel height of a space marker before/after a par
29 int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
30
31 #endif // ROWPAINTER_H