diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2023-06-21 15:01:20 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2023-06-23 10:54:24 +0200 |
commit | bb19bda1dc620f0f8662776d9818aedf45486994 (patch) | |
tree | b3642e60db311287a935b54d46fd7b440e2d36f0 /vcl/Executable_fodsfuzzer.mk | |
parent | 8ec8d592e31aebe19075e9f89c4c2c7abcf8d420 (diff) |
tdf#155901 MCGR: preserve first and last gradient stop too
Error was, that only the in-between gradient stops were preserve. First
stop was set with fixed offset 0, last stop with fixed offset 1. The
offsets of first and last gradient stop of the original gradient were
lost. Now in all cases (hopefully) the complete gradient stops vector is
preserved and the original offset is used, if e.g. the user changes the
color.
For calculating transparence the indirect way over Color is removed.
Instead percent is directly transformed to the 0..1 values of BColor.
That avoids rounding errors.
Change-Id: Icdf699a6c2e9c6289d2f77033858448e58396a60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153395
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'vcl/Executable_fodsfuzzer.mk')
0 files changed, 0 insertions, 0 deletions