canvas/source/cairo/cairo_canvashelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a2c0ab909195c803401cc710985f19723680e0eb
Author:     Sarper Akdemir <sarper.akdemir.ext...@allotropia.de>
AuthorDate: Mon Jan 15 07:01:01 2024 +0300
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Feb 27 19:31:44 2024 +0100

    tdf#156830: fix faulty transformation order in cairo canvas for patterns
    
    Change-Id: Ib58e845c23dd14bbc3b96e5549a722b650d593a6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162069
    Tested-by: Jenkins
    Reviewed-by: Sarper Akdemir <sarper.akdemir.ext...@allotropia.de>
    (cherry picked from commit 84055d875ead6d7862cd8ddc5697a280240411fe)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162008
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    (cherry picked from commit 3add4092d29b9b03c00dfa24caa917a3fc84540b)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163972
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/canvas/source/cairo/cairo_canvashelper.cxx 
b/canvas/source/cairo/cairo_canvashelper.cxx
index 14113e89361f..2bfca55f317c 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -488,7 +488,7 @@ constexpr OUStringLiteral 
PARAMETRICPOLYPOLYGON_IMPLEMENTATION_NAME = u"Canvas::
                             geometry::IntegerSize2D aSize = 
aTexture.Bitmap->getSize();
 
                             cairo_matrix_init_scale( &aScaleMatrix, 
1.0/aSize.Width, 1.0/aSize.Height );
-                            cairo_matrix_multiply( &aScaledTextureMatrix, 
&aTextureMatrix, &aScaleMatrix );
+                            cairo_matrix_multiply( &aScaledTextureMatrix, 
&aScaleMatrix, &aTextureMatrix );
                             cairo_matrix_invert( &aScaledTextureMatrix );
 
                             // we don't care about repeat mode yet, so the 
workaround is disabled for now

Reply via email to