![]() |
LeechCraft Monocle 0.6.70-17609-g3dde4097dd
Modular document viewer for LeechCraft
|
Interface for documents supporting optimized painting. More...
#include "isupportpainting.h"
Public Member Functions | |
virtual void | PaintPage (QPainter *painter, int page, double xScale, double yScale)=0 |
Paints a given page to the given painter. |
Protected Member Functions | |
virtual | ~ISupportPainting ()=default |
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 25 of file isupportpainting.h.
|
protectedvirtualdefault |
|
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. |