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