summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-04-20 11:06:11 +0900
committerTomaž Vajngerl <quikee@gmail.com>2019-04-21 14:20:19 +0200
commitd487d6e082bc7ce652217578ffd37397a59cc3ca (patch)
treec6498c4b2f4cb042013547d32a8ad98a30c238d5 /sccomp
parentd077b19a3f617f5ef3d65fc20a136a9107c47199 (diff)
rework Color to have R,G,B,A public variables
Color is a wrapper around a sal_uInt32 variable. With a union, separate channels R, G, B, A sal_uInt8 variables can be added that occupy the same memory. This makes it much easier to access each color component separately, which is used quite a lot by various algorithms. This also adds the variables to public so everyone can enjoy the benefits. Tests have been extended to make sure this doesn't break the existing algroithms. Change-Id: I2e78e12df68e8c7f0f49420eef5e659b335ee397 Reviewed-on: https://gerrit.libreoffice.org/71002 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sccomp')
0 files changed, 0 insertions, 0 deletions