Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


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
wrong?

Thanks,
Matteo

Attachment: Screenshot from 2014-05-27 13:08:09.png
Description: PNG image


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.