LeechCraft Monocle  0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
LeechCraft::Monocle::ISupportPainting Class Referenceabstract

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...
 

Detailed Description

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.

See also
IDocument

Definition at line 46 of file isupportpainting.h.

Constructor & Destructor Documentation

virtual LeechCraft::Monocle::ISupportPainting::~ISupportPainting ( )
inlinevirtual

Definition at line 49 of file isupportpainting.h.

References PaintPage(), and Q_DECLARE_INTERFACE().

+ Here is the call graph for this function:

Member Function Documentation

virtual void LeechCraft::Monocle::ISupportPainting::PaintPage ( QPainter *  painter,
int  page,
double  xScale,
double  yScale 
)
pure virtual

Paints a given page to the given painter.

Parameters
[in]painterThe painter to paint on.
[in]pageThe page index to paint on.
[in]xScaleThe X-axis scale which should be used during painting.
[in]yScaleThe Y-axis scale which should be used during painting.

Referenced by ~ISupportPainting().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: