    def paint(self, stream, scale=1):
        """Paint the page into the PDF file."""
        with stacked(stream):
            stream.transform(a=scale, d=scale)
            draw_page(self._page_box, stream)
Paint the page into the PDF file.
weasyprint/document.py