De : Tomaž Vajngerl <quikee@xxxxxxxxx>
Envoyé : mardi 12 novembre 2019 10:03 À : Adrien Ollier <adr.ollier@xxxxxxxxxx> Cc : libreoffice@xxxxxxxxxxxxxxxxxxxxx <libreoffice@xxxxxxxxxxxxxxxxxxxxx> Objet : Re: VclPtr<VirtualDevice> attribute in the OutputDevice class Hi Adrien,
On Tue, Nov 12, 2019 at 7:54 AM Adrien Ollier <adr.ollier@xxxxxxxxxx> wrote:
Hello everybody, That's one of those permanent temporary variables that was intended to be removed in a week, but is still in the code after a decade. Does someone know what this attribute is for? It's for the alpha channel of the VirtualDevice to make the it support transparency. Using opengrok, when I search for mpAlphaVDev Instantiated in one place, yes, but it is used all over OutputDevice drawing code. Can someone confirm this? If that is true, at least the attribute should
OK. Do the changes need mpAlphaVDev? If yes, what I have to do is simple: move mpAlphaVDev in the VirtualDevice class and make every OutputDevice function that uses mpAlphaVDev virtual and reimplement them in the VirtualDevice class. If no, I guess it
will be removed at end.
What could be removed is that "TEMP TEMP TEMP" comment. Best regards,
Best regards,
Adrien Ollier
|
_______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice