[REVIEW-3-5] Consistent use of alpha in cairocanvas

Thorsten Behrens thb at documentfoundation.org
Fri Mar 16 09:43:26 PDT 2012


Hi there,

the cairocanvas was slightly inconsistent in it's use of the alpha
channel, when copying from a vcl bitmap.

Cosmetic change to use GetIndex() instead of GetBlue() (same
component), and use 255 aka opaque if no alpha bitmap access
available.

Cherry-pick into -3-5 appreciated.

http://cgit.freedesktop.org/libreoffice/core/commit/?id=83114b27fac8ef723cbbaa734237210d9ad56a15

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120316/b272df73/attachment.pgp>


More information about the LibreOffice mailing list