Skip to content
Permalink
Browse files
Add render checker color tolerance to sip
  • Loading branch information
dakcarto committed Mar 24, 2014
1 parent 3797ffa commit 81ba9ed
Showing 1 changed file with 8 additions and 0 deletions.
@@ -37,6 +37,14 @@ class QgsRenderChecker
void setRenderedImage( QString theImageFileName );
void setMapRenderer( QgsMapRenderer * thepMapRenderer ) /Deprecated/;
void setMapSettings( const QgsMapSettings& mapSettings );

/** Set tolerance for color components used by runTest() and compareImages().
* Default value is 0.
* @param theColorTolerance is maximum difference for each color component
* including alpha to be considered correct.
* @note added in 2.1
*/
void setColorTolerance( unsigned int theColorTolerance );
/**
* Test using renderer to generate the image to be compared.
* @param theTestName - to be used as the basis for writing a file to

0 comments on commit 81ba9ed

Please sign in to comment.