48 void QgsQuickMapTransform::updateMatrix()
51 float scaleFactor =
static_cast<float>( 1.0 / mMapSettings->
mapUnitsPerPixel() );
53 matrix.scale( scaleFactor, -scaleFactor );
The QgsQuickMapSettings class encapsulates QgsMapSettings class to offer settings of configuration of...
QgsRectangle visibleExtent
Returns the actual extent derived from requested extent that takes takes output image size into accou...
void visibleExtentChanged()
Returns the actual extent derived from requested extent that takes takes output image size into accou...
double mapUnitsPerPixel
Returns the distance in geographical coordinates that equals to one pixel in the map.
double yMaximum() const SIP_HOLDGIL
Returns the y maximum value (top side of rectangle).
double xMinimum() const SIP_HOLDGIL
Returns the x minimum value (left side of rectangle).