[Libreoffice-bugs] [Bug 139170] New: Make OutputDevice::EmulateDrawTransparent(() redundant
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 22 20:26:21 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=139170
Bug ID: 139170
Summary: Make OutputDevice::EmulateDrawTransparent(() redundant
Product: LibreOffice
Version: 6.0.0.3 release
Hardware: All
OS: other
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: chris.sherlock79 at gmail.com
Description:
We currently have a function OutputDevice::EmulateDrawTransparent(). This is
used because OutputDevice::DrawTransparentNatively() can fail, because a number
of our VCL backends don't guarantee the drawing of PolyPolygons and
PolyPolylines.
We need the following backends to guarantee the drawing of PolyPolygons:
* X11SalGraphicsImpl::drawFilledTrapezoids()
* GenPspGraphics::drawPolyPolygon()
The following backends need to guarantee the drawing of PolyLines:
* X11SalGraphicsImpl::drawPolyLine()
* GenPspGraphics::drawPolyLine()
* AquaSalGraphics::drawPolyLine() - note this can only fail if using IOS
Steps to Reproduce:
n/a
Actual Results:
n/a
Expected Results:
n/a
Reproducible: Always
User Profile Reset: No
Additional Info:
We can basically remove OutputDevice::EmulateDrawTransparent() and then
collapse OutputDevice::DrawTransparentNatively() into
OutputDevice::DrawTransparent().
This will remove a lot of code that currently needs to be maintained. It will
hopefully speed up things also.
--
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/20201222/bf81b700/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list