summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2023-02-21 18:35:39 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2023-02-22 09:13:20 +0000
commitc4f252035cd71f9a1b226e69095cc9f4e8f19f3e (patch)
tree3fba6649662028a15288bbd803acea5a73f500ad /scp2
parent0c14b1ba0d560c1de120d2562da6b24db9802149 (diff)
MCGR: Adapted GradientLinear to make use of MCGR
Added to make GradientLinear work using the MCGR as 1st of six types. Had to do quite some tickeling to get it all work, but looks good. Five more to go, already started to put some things to tooling to make re-usable for the other types. Besides adapting this the main change is that the adaption of defined step-count (versus automatic) has to be done in modifyBColor now instead of the back-mapping methods (e.g. getLinearGradientAlpha). It is still 100% backward-compatible, so as long as there is no source using this it will stay invisible - by purpose. I started to do quite some tests (and fixes/ adaptions in consequence), see the static variable nUseGradientSteps. If you want to play with this, you might set it to '1' instead of '0' and use a linear gradient on an object. Change-Id: I9d61934defb0674456247f2879f0a89b6a5e50f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147413 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'scp2')
0 files changed, 0 insertions, 0 deletions