double rendererScale() const
Returns the renderer map scale.
bool qgsDoubleNear(double a, double b, double epsilon=4 *DBL_EPSILON)
Compare two doubles (but allow some difference)
Contains information about the context of a rendering operation.
const QgsMapToPixel & mapToPixel() const