16 #ifndef QGSMULTIRENDERCHECKER_H    17 #define QGSMULTIRENDERCHECKER_H    61     void setControlName( 
const QString& theName );
    63     void setControlPathPrefix( 
const QString& prefix );
    87     void setColorTolerance( 
unsigned int theColorTolerance ) { mColorTolerance = theColorTolerance; }
   102     bool runTest( 
const QString& theTestName, 
unsigned int theMismatchCount = 0 );
   115     QString controlImagePath() 
const;
   127     unsigned int mColorTolerance;
   141     ~QgsCompositionChecker();
   143     void setSize( 
QSize size ) { mSize = size; }
   145     bool testComposition( 
QString &theReport, 
int page = 0, 
int pixelDiff = 0 );
   148     QgsCompositionChecker(); 
   159 #endif // QGSMULTIRENDERCHECKER_H QString report() const
Returns a report for this test. 
The QgsMapSettings class contains configuration for rendering of the map. 
This class allows checking rendered images against comparison images. 
Graphics scene for map printing. 
static void drawBackground(QImage *image)
Draws a checkboard pattern for image backgrounds, so that transparency is visible without requiring a...
void setColorTolerance(unsigned int theColorTolerance)
Set tolerance for color components used by runTest() Default value is 0. 
static void drawBackground(QImage *image)
Draws a checkboard pattern for image backgrounds, so that transparency is visible without requiring a...
void setRenderedImage(const QString &renderedImagePath)
Set the path to the rendered image.