25 Commits

Author SHA1 Message Date
Uwe Rathmann
f4275c5098 using the more efficient QVector< qreal > instead of QPainterPath 2022-12-04 21:13:14 +01:00
Uwe Rathmann
7eecc63571 QPainterPath support added 2022-12-04 19:52:07 +01:00
Uwe Rathmann
ff0599686d unused parameters removed 2022-11-16 14:33:10 +01:00
Uwe Rathmann
18b0594cd6 internal API simplyfied 2022-11-16 14:23:47 +01:00
Uwe Rathmann
615e0016c2 working more with RGBA values instead of QColor 2022-11-16 13:46:37 +01:00
Uwe Rathmann
70f4d28285 using QRgb instead of QColor 2022-11-14 09:01:07 +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
bad4f90a16 if/else cascade reordered 2022-10-25 18:19:32 +02:00
Uwe Rathmann
506dd4f60c working towards introducing new type of gradients 2022-10-25 18:17:21 +02:00
Uwe Rathmann
e67b0b385a allowing gradient stops that do not start/end with 0.0/1.0 ( like
QGradient )
2022-10-24 17:29:39 +02:00
Uwe Rathmann
4a04a27d0d making code more readable 2022-10-21 16:49:05 +02:00
Uwe Rathmann
b1f63999c6 preparations for gradient updates 2022-10-20 09:29:20 +02:00
Uwe Rathmann
55b2235d18 lineCount fixed ( clip nodes ended up with a final line with random
coordinates )
2022-07-18 16:27:22 +02:00
Uwe Rathmann
ab095afb13 using left/top/right/bottom 2022-04-16 16:01:40 +02:00
Uwe Rathmann
1cc0dff8d5 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann
18b7f9590e using references 2022-02-04 16:18:14 +01: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
15102be421 code duplication removed 2021-10-19 06:44:17 +02:00
Uwe Rathmann
c9717a9d33 render bug for ellipsoid monochrome boxes fixed 2020-08-05 14:02:03 +02:00
Uwe Rathmann
4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann
0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann
aaac57de94 unused member removed 2018-07-19 14:10:48 +02:00
Uwe Rathmann
b3e4360ad1 avoiding some pedantic compiler warnings 2017-10-18 19:51:29 +02:00
Uwe Rathmann
6479937294 All box subcontrols are displayd with vertex lists instead of textures
now. Implementation is almost complete beside of the not yet done Qt
antialiasing mode. Not all sort of linear gradients ( see
QLinearGradients ) are implemented - needs 1-2 days more.
The aspect flags for box primitives have been substantially changed from
too atomic to more strutured units.
The skins are currently incomplete - will be fixed later.
2017-10-17 17:29:02 +02:00