https://bugs.documentfoundation.org/show_bug.cgi?id=142941

            Bug ID: 142941
           Summary: [EMF+] DrawImagePoints SrcRect support
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: f...@df.ru

Description:
LO doesn't handle DrawImagePoints SrcRect properly.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO draws a piece of green rectangle in the top left corner and blue square in
the middle of the image.

Expected Results:
It should draw green square of the same size as a blue one on the top part of
the image.


Reproducible: Always


User Profile Reset: No



Additional Info:
In this case DrawImagePoints deals with an ObjectImage of the Metafile type. LO
reads SrcRect and uses in in aGDI.Clip call, however it has wrong or no effect
depends on the specific values provided.

This was identified during analysis of EMF+ part of the issue with a file from
tdf#59814.
Solving this problem should also have a positive impact on tdf#59814.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to