public function scale($ratio)
    {
        $this->getDimension()
                ->setWidth(
                        round($ratio * $this->getDimension()->getWidth())
                )->setHeight(
                round($ratio * $this->getDimension()->getHeight())
        );

        return $this;
    }