drawinglayer/source/processor2d/hittestprocessor2d.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6de9dc3c949391ea8c6f68e7ca2b0df992fadb9c
Author:     Mark Hung <mark...@gmail.com>
AuthorDate: Fri Apr 3 23:46:54 2020 +0800
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Apr 14 09:27:31 2020 +0200

    tdf#104225: speedup hit test for FillGraphicPrimitive2D.
    
    Default is to decompose and process the primitive
    recursively, but it is not necessary since the shape
    is regular. So perform the hit test using getB2DRange()
    like FillHatchPrimitive2D or FillGraidentPrimtive2D.
    
    Change-Id: Ie9d91943d2f3502938e41b7f6b0a364d9da15d63
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92135
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx 
b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
index eb57052de924..225fe4d5fb97 100644
--- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx
@@ -469,6 +469,7 @@ namespace drawinglayer::processor2d
                 case PRIMITIVE2D_ID_METAFILEPRIMITIVE2D :
                 case PRIMITIVE2D_ID_CONTROLPRIMITIVE2D :
                 case PRIMITIVE2D_ID_FILLGRADIENTPRIMITIVE2D :
+                case PRIMITIVE2D_ID_FILLGRAPHICPRIMITIVE2D :
                 case PRIMITIVE2D_ID_FILLHATCHPRIMITIVE2D :
                 case PRIMITIVE2D_ID_PAGEPREVIEWPRIMITIVE2D :
                 case PRIMITIVE2D_ID_MEDIAPRIMITIVE2D:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to