]> git.lyx.org Git - lyx.git/blob - src/rowpainter.h
Store and use QImage rather than QPixmap.
[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 "support/types.h"
17
18 class LyXText;
19 class BufferView;
20 class PainterInfo;
21
22 /// paint the rows of the main text, return last drawn y value
23 int paintText(BufferView const & bv);
24
25 /// refresh a par of the main text
26 void refreshPar(BufferView const & bv, LyXText const & text,
27                 lyx::par_type pit);
28
29 /// paint the rows of a text inset
30 void paintTextInset(LyXText const & text, PainterInfo & pi);
31
32 #endif // ROWPAINTER_H