Using OutputDevice::DrawTransparent fails

Matteo Campanelli matteo.campanelli at
Tue May 27 10:57:30 PDT 2014

Hi all,
i was trying to set a transparent background in text areas in Draw.

I replaced the call to mpGraphics->DrawRect in OutputDevice::ImplDrawText
with a call to DrawTransparent on the same area. However the result has
issues such as [see attached picture]:
- not giving the expected color (the arrow text in the picture should be
the same color as the text area's),
- leaving old rendering leftovers around when text is moved (or the related
arrow in this case).

I tried to debug how other transparent areas are drawn but that didn't give
much insight.
Does anyone any experience with this or any guess on what may be going

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-05-27 13:08:09.png
Type: image/png
Size: 170369 bytes
Desc: not available
URL: <>

More information about the LibreOffice mailing list