diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-04-20 11:06:11 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-04-21 14:20:19 +0200 |
commit | d487d6e082bc7ce652217578ffd37397a59cc3ca (patch) | |
tree | c6498c4b2f4cb042013547d32a8ad98a30c238d5 /tools/CppunitTest_tools_test.mk | |
parent | d077b19a3f617f5ef3d65fc20a136a9107c47199 (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 'tools/CppunitTest_tools_test.mk')
-rw-r--r-- | tools/CppunitTest_tools_test.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/CppunitTest_tools_test.mk b/tools/CppunitTest_tools_test.mk index 3971606c9a9d..ad56d893ae80 100644 --- a/tools/CppunitTest_tools_test.mk +++ b/tools/CppunitTest_tools_test.mk @@ -34,6 +34,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,tools_test, \ $(eval $(call gb_CppunitTest_use_sdk_api,tools_test)) $(eval $(call gb_CppunitTest_use_libraries,tools_test, \ + basegfx \ sal \ tl \ test \ |