QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Classes | Macros | Functions
qgsrenderchecker.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include "qgslogger.h"
#include "qgsmapsettings.h"
#include "qgsdartmeasurement.h"
#include <QDir>
#include <QString>
#include <QRegularExpression>
#include <QList>
Include dependency graph for qgsrenderchecker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsRenderChecker
 This is a helper class for unit tests that need to write an image and compare it to an expected result or render time. More...
 

Macros

#define DUMP_BASE64_IMAGES   0
 

Functions

bool compareWkt (const QString &a, const QString &b, double tolerance=0.000001)
 Compare two WKT strings with some tolerance.
 

Macro Definition Documentation

◆ DUMP_BASE64_IMAGES

#define DUMP_BASE64_IMAGES   0

Definition at line 33 of file qgsrenderchecker.h.

Function Documentation

◆ compareWkt()

bool compareWkt ( const QString &  a,
const QString &  b,
double  tolerance = 0.000001 
)
inline

Compare two WKT strings with some tolerance.

Parameters
afirst WKT string
bsecond WKT string
tolerancetolerance to use (optional, defaults to 0.000001)
Returns
bool indicating if the WKT are sufficiently equal

Definition at line 353 of file qgsrenderchecker.h.