Problems with OutputDevice

Chris Sherlock chris.sherlock79 at gmail.com
Sat Jan 2 01:59:42 UTC 2021



> On 2 Jan 2021, at 9:48 am, Thorsten Behrens <thb at libreoffice.org> wrote:
> 
> Chris Sherlock wrote:
>> OutputDevice relies of VirtualDevice for alpha blending
>> 
>> What can I say? It’s an extraordinary hack and has been that way for
>> a long time.
>> 
> Rooted in history, too. I did that hack many years ago, as Win32 GDI
> had no good way to render into ARGB surfaces - and GDI+ was not
> necessarily available on all of our baseline OS versions.
> 
> And yeah, this code has to die. ;)
> 
> Cheers,
> 
> -- Thorsten

Haha, yeah I understand - this was not necessarily a negative criticism, as a hack it has done its job :-)

I’m assuming that we obviously rely on GDI+ now?

What is your opinion of the fallback code being placed in SalGraphics?

Chris


More information about the LibreOffice mailing list