<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Make OutputDevice::EmulateDrawTransparent(() redundant"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139170">139170</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Make OutputDevice::EmulateDrawTransparent(() redundant
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.0.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>graphics stack
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chris.sherlock79@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>