src/Manipulators/Size.php
public function getDpr()
    {
        if (!is_numeric($this->dpr)) {
            return 1.0;
        }

        if ($this->dpr < 0 or $this->dpr > 8) {
            return 1.0;
        }

        return (double) $this->dpr;
    }
public function getDpr()
    {
        if (!is_numeric($this->dpr)) {
            return 1.0;
        }

        if ($this->dpr < 0 or $this->dpr > 8) {
            return 1.0;
        }

        return (double) $this->dpr;
    }
public function getDpr ( ) { if ( ! is_numeric ( $ this -> dpr ) ) { return 1.0 ; } if ( $ this -> dpr < 0 or $ this -> dpr > 8 ) { return 1.0 ; } return ( double ) $ this -> dpr ; }
Resolve the device pixel ratio.
@return double The device pixel ratio.
Resolve the device pixel ratio .