mirror of https://github.com/JakubMelka/PDF4QT.git
Bugfix: corrected base pattern matrix
This commit is contained in:
parent
b784646969
commit
80e3dfbe1e
|
@ -937,6 +937,10 @@ void PDFPageContentProcessor::processTillingPatternPainting(const PDFTilingPatte
|
||||||
QMatrix transformationMatrix = baseTransformationMatrix;
|
QMatrix transformationMatrix = baseTransformationMatrix;
|
||||||
transformationMatrix.translate(tilingArea.left(), tilingArea.top());
|
transformationMatrix.translate(tilingArea.left(), tilingArea.top());
|
||||||
transformationMatrix.translate(column * xStep, row * yStep);
|
transformationMatrix.translate(column * xStep, row * yStep);
|
||||||
|
|
||||||
|
QMatrix patternMatrix = transformationMatrix * m_pagePointToDevicePointMatrix;
|
||||||
|
PDFTemporaryValueChange patternMatrixGuard(&m_patternBaseMatrix, patternMatrix);
|
||||||
|
|
||||||
m_graphicState.setCurrentTransformationMatrix(transformationMatrix);
|
m_graphicState.setCurrentTransformationMatrix(transformationMatrix);
|
||||||
updateGraphicState();
|
updateGraphicState();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue