17 Commits

Author SHA1 Message Date
Uwe Rathmann
9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann
a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann
31feeff9aa Complete support of linear gradients from the box renderer - only
expection are reflect/repeat spreading.
Code has been reimplemented or cleaned up significantly
2023-02-08 17:58:09 +01:00
Uwe Rathmann
b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann
03ce740b29 towards improved QskGradient 2022-10-24 16:40:47 +02:00
Uwe Rathmann
a21d96543f using QskRgb::interpolated 2022-10-20 09:23:19 +02:00
Uwe Rathmann
d403af14ba making QskHctColor a class, tone calculation from rgb added 2022-06-27 12:54:13 +02:00
Uwe Rathmann
6c7ba0489c M(aterial)2 related code replaced 2022-06-25 16:14:08 +02:00
Peter Hartmann
ac8ef9cd5a
Box renderer: Support border gradients (#158)
* QskBoxBorderColors: Use gradients instead of colors

* QskBoxBorderColors: rename API

* render gradients on borders

* boxes example: Also draw gradient borders

* calculate proper numbers of needed border colors

* fixup with example

* support rounded corners

* support more colors in rounded color gradients

I THINK WE DON'T REALLY NEED THIS COMMIT

* We don't need this commit either

* Revert "We don't need this commit either"

This reverts commit 2dc38064f7fee1d0505262fe5cebcf9e1fb16cea.

* Revert "support more colors in rounded color gradients"

This reverts commit 5754d2d0773d8273d42ae1775b53d40f5e6af26a.

* fix borders for rect ellipses

* play around a bit

* small fixes

* some helper stuff and missing stuff

* user border colors

* close to something working somehow

* works a bit better

* put it into an own function

* rearrange a bit

* something's off

* still off, but seems like we need an additional line

* works but hackish

* now it works

* bring back samples

* correction

* pimp up example

* fix normal rendering

* some more debugging etc.

* turn around gradients

* turn around rectangular gradients as well

* turn around easier

* more test cases

* fix fill case

* more test cases

* clean up a bit

* clean up example

* clean up some more

* incorporate feedback from Uwe

* fix bug when using horizontal gradients
2022-02-04 16:11:11 +01:00
Uwe Rathmann
c4e3a3aa92 QskGradientStops added 2021-09-17 13:35:47 +02:00
Uwe Rathmann
9c55e03859 QskRgbPalette::colorStops added 2020-07-31 13:26:22 +02:00
Uwe Rathmann
39f4d80153 QskRgbPalette added 2020-07-31 12:43:08 +02:00
Uwe Rathmann
fb594267c2 license/copyright notes added 2019-06-20 12:02:28 +02:00
Uwe Rathmann
e1ca897478 uncrustified 2019-01-07 09:13:53 +01:00
Uwe Rathmann
0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann
f9565bdea1 rectangles renamed to boxes 2017-10-20 07:42:53 +02:00