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
Attachment:
pgpnQevY17GoU.pgp
Description: PGP signature
Context
- [REVIEW-3-5] Consistent use of alpha in cairocanvas · Thorsten Behrens
 
   
 
  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.