virtual bool GetCanvasIsAutoScaled() const =0
Is the current value auto scaled or is it user-set in the config.
virtual void SetDpiConfig(bool aAuto, double aValue)=0
Set the common DPI config in a given config object.
virtual double GetContentScaleFactor() const =0
Get the content scale factor, which may be different from the scale factor on some platforms.
DPI_SCALING()
Construct a DPI scale provider.
static double GetDefaultScaleFactor()
Get the "default" scaling factor to use if not other config is available.
static double GetMaxScaleFactor()
Get the maximum scaling factor that should be presented to the user.
virtual double GetScaleFactor() const =0
Get the DPI scale from all known sources in order:
static double GetMinScaleFactor()
Get the minimum scaling factor that should be presented to the user.