Bugfix: corrected base pattern matrix

This commit is contained in:
Jakub Melka 2020-07-09 14:52:14 +02:00
parent b784646969
commit 80e3dfbe1e
1 changed files with 4 additions and 0 deletions

View File

@ -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();