![]() |
LeechCraft Monocle
%{LEECHCRAFT_VERSION}
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)=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.
|
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. |