private function _getLeftUpperCoordinateOnCanvas($projectionWidth, $projectionHeight) {
        $canvasWidth = $this->_params['w'];
        $canvasHeight = $this->_params['h'];

        // Always center the projection horizontally.
        if ($projectionWidth > $canvasWidth) {
            $x = - (($projectionWidth / 2) - ($this->_params['w'] / 2));
        } else {
            $x = ($this->_params['w'] - $projectionWidth) / 2;
        }

        switch ($this->_params['cropfocus']) {
        case 'face':
            // If the image is taller than the canvas, move the starting point halfway up the center
            if ($projectionHeight > $canvasHeight) {
                $y = - ((($projectionHeight / 2) - ($this->_params['h'] / 2)) / 2);
            } else {
                $y = ($this->_params['h'] - $projectionHeight) / 2;
            }
            break;
        case 'center':
        default:
            //  center the projection vertically
            if ($projectionHeight > $canvasHeight) {
                $y = - (($projectionHeight / 2) - ($this->_params['h'] / 2));
            } else {
                $y = ($this->_params['h'] - $projectionHeight) / 2;
            }
        }
        return array($x, $y);
    }