[Libreoffice-bugs] [Bug 142639] [EMF] ExtSelectClipRng region data coords should be converted between Window and Viewport

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 3 14:46:13 UTC 2021


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

--- Comment #5 from Valek Filippov <frob at df.ru> ---
tdf#116623 root cause is that Region has to be reset if RGN_COPY mode is in use
only of no region data are provided.
However implementing RGN_COPY fails on other tests, because ClipRegion can
appear offset from the expected position.

There are three cases for RGN_COPY:
1. There is a RegionData block -- it should be used to calculate and set the
region.
2. There is no RegionData at all -- it should reset the region to default.
3. There is a RegionData with 0 RectL provided -- that seems to set ClipRegion
to 0 sized area, hence no drawing made after is visible until the region is
reset.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210603/af6e3686/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list