https://bugs.freedesktop.org/show_bug.cgi?id=74921

--- Comment #1 from rbruen...@spectruma.de ---
Created attachment 94002
  --> https://bugs.freedesktop.org/attachment.cgi?id=94002&action=edit
Contains a simple test programme for generating EMF content showing the issue

With the test programme, you may create EMF clipboard content which shows this
problem easily - just press the Copy icon on the toolbar. The image shows a
black filled rectangle and a red line. There is also a blue diagonal line of
the same length as the red one, but which is clipped to the rectangle area.
This line is not properly handled by LO.

The attachment also contains the VC++ project with the source code for your
reference.

It is interesting that the bug disappears when line 162 in EMFTestView.cpp is
commented out:
<code>
OnPrepareDC(&dcClient);
</code>
I am not quite sure whether this call is redundant or not, however, in the
presence of this call, the drawings after applying the clipping rectangle do
not work properly.

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

Reply via email to