Project: QGIS

Version: 3.26

Feature: Add a QgsScaleCalculator function to calculate canvas width from a given extent, scale, and dpi

A new calculateCanvasWidth( extent, scale ) was added to the QgsScaleCalculator class to derive canvas width in pixel unit when providing an extent, a scale, and a DPI.

This feature was developed by Mathieu Pellerin, OPENGIS.ch