![]() |
LeechCraft Monocle
0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
|
Interface for documents supporting optimized painting. More...
#include "isupportpainting.h"
Public Member Functions | |
virtual | ~ISupportPainting () |
virtual void | PaintPage (QPainter *painter, int page, double xScale, double yScale)=0 |
Paints a given page to the given painter. More... | |
Interface for documents supporting optimized painting.
This interface should be implemented by IDocument objects that can paint better than putting the image returned by the IDocument::RenderPage() method to a QPainter.
Definition at line 46 of file isupportpainting.h.
|
inlinevirtual |
Definition at line 49 of file isupportpainting.h.
References PaintPage(), and Q_DECLARE_INTERFACE().
|
pure virtual |
Paints a given page to the given painter.
[in] | painter | The painter to paint on. |
[in] | page | The page index to paint on. |
[in] | xScale | The X-axis scale which should be used during painting. |
[in] | yScale | The Y-axis scale which should be used during painting. |
Referenced by ~ISupportPainting().