diff --git a/PdfForQtLib/sources/pdfpagecontentprocessor.cpp b/PdfForQtLib/sources/pdfpagecontentprocessor.cpp index 2546ef0..d1caa32 100644 --- a/PdfForQtLib/sources/pdfpagecontentprocessor.cpp +++ b/PdfForQtLib/sources/pdfpagecontentprocessor.cpp @@ -937,6 +937,10 @@ void PDFPageContentProcessor::processTillingPatternPainting(const PDFTilingPatte QMatrix transformationMatrix = baseTransformationMatrix; transformationMatrix.translate(tilingArea.left(), tilingArea.top()); transformationMatrix.translate(column * xStep, row * yStep); + + QMatrix patternMatrix = transformationMatrix * m_pagePointToDevicePointMatrix; + PDFTemporaryValueChange patternMatrixGuard(&m_patternBaseMatrix, patternMatrix); + m_graphicState.setCurrentTransformationMatrix(transformationMatrix); updateGraphicState();