251 Commits

Author SHA1 Message Date
Uwe Rathmann
ffe4e11b21 QskStrokeNode with colored matarial for better batching. option for
simple polygons added without line joining added
2023-05-02 18:04:23 +02:00
Uwe Rathmann
7796e11b03 getter added 2023-04-24 11:55:36 +02:00
Uwe Rathmann
d647f222d3 using 6.2 shader baker 2023-04-20 13:23:11 +02:00
Uwe Rathmann
64db2d0117 code moved from QskArcRenderer to QskArcMetrics 2023-04-19 12:16:40 +02:00
Uwe Rathmann
c9063fd87e arcPath fixed to match conic gradients for ellipsoid arcs 2023-04-18 16:11:04 +02:00
Uwe Rathmann
9e99735d2f aspectRatio for conic gradients added to support f.e for filling ellipsoid arcs. 2023-04-18 16:08:37 +02:00
Uwe Rathmann
3210242276 using "unstretched" conic gradients 2023-04-17 17:29:47 +02:00
Uwe Rathmann
1197a5983c compare operation for conic gradients fixed 2023-04-17 17:28:06 +02:00
Uwe Rathmann
785cb33739 QskArcNode supports borders now 2023-04-17 10:54:44 +02:00
Uwe Rathmann
328e6a9e6f QskArcNode as composite of fill/border nodes 2023-04-14 12:44:49 +02:00
Uwe Rathmann
73dd618626 working on arcs 2023-04-14 09:47:10 +02:00
Uwe Rathmann
45a1bc3564 QskArcNode is a QskShapeNode now.
The performance of the previous implementation was simply horrible,
when drawing an arc with a small span angle. The size of the corresponding full circle
is huge and the previous implementation always created an image/texture with
that size.

However the final implementation is supposed to create vertex lists
- like what the box renderer does. So this code will also not stay forever.
2023-04-12 12:19:26 +02:00
Uwe Rathmann
98cb1b256b missing dummy destructor added 2023-04-12 12:17:38 +02:00
Uwe Rathmann
7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann
6c2713c1f9 avoid clang warnings 2023-04-06 10:06:00 +02:00
Uwe Rathmann
9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann
1ac6334c0e avoidable private includes removed 2023-04-05 09:56:28 +02:00
Uwe Rathmann
658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann
7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02:00
Peter Hartmann
caf75721d4 tickmarks: support alignment 2023-02-28 16:11:27 +01:00
Uwe Rathmann
f89ab863f6 always inserting the connecting line between border and filling, when
using different strokers
2023-02-14 13:44:52 +01:00
Uwe Rathmann
126c276eac better decisions for the direction of filling gradient lines 2023-02-14 11:19:13 +01:00
Uwe Rathmann
b8f198a97a irrelevant micro optimzation removed, that was using the wrong corner
iteration
2023-02-14 09:29:51 +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
9d4c423591 color ramp calculation fixed for gradients with many stops 2023-02-04 11:53:23 +01:00
Uwe Rathmann
910a8a730f corner -> corners 2023-01-24 19:49:15 +01:00
Uwe Rathmann
83ce3dbbf9 convenience setter added 2023-01-24 19:48:04 +01:00
Uwe Rathmann
bd25e8ae23 explanation added 2023-01-24 19:47:37 +01:00
Uwe Rathmann
76a7e94358 default value for reset added 2023-01-23 11:00:03 +01:00
Uwe Rathmann
ad09186229 QskGradientDirection::contais added 2023-01-23 10:59:34 +01:00
Uwe Rathmann
6e2769edfa QskVertex::fillOrdered renamed to QskVertex::fillBox 2023-01-17 15:41:12 +01:00
Uwe Rathmann
cd4a46cc11 de-template-ified: much better starting point for the fixes to come 2023-01-12 20:26:51 +01:00
Uwe Rathmann
a916bd78c2 codemoved to QskRoundedRect.hpp/QskRoundedRect.h 2023-01-12 14:33:31 +01:00
Uwe Rathmann
c670d23582 QskRoundedRectRenderer reorganized 2023-01-11 17:40:25 +01:00
Uwe Rathmann
e66520294c minor API changes 2023-01-11 12:51:16 +01:00
Uwe Rathmann
5ba34eb11c method names cleaned up 2023-01-10 15:36:43 +01:00
Uwe Rathmann
4038f52cdf inverted gradient vectors for horizontal/vertical gradients supported 2023-01-10 12:17:56 +01:00
Uwe Rathmann
d2c5413daa wrong check fixed 2023-01-10 12:09:53 +01:00
Uwe Rathmann
e50fb269c3 minor adjustments 2023-01-10 10:20:30 +01:00
Uwe Rathmann
a5ab93bba8 bad workaround removed ad fixing the bug instead. 2023-01-09 15:11:38 +01:00
Uwe Rathmann
d80f9780fc iotdashboard crash fixed 2023-01-09 15:11:38 +01:00
Uwe Rathmann
f4aaf4cc92 more variations of gradient vectors supported 2023-01-05 17:18:34 +01:00
Uwe Rathmann
21e1206b2d QskBoxRenderer improvements 2023-01-05 13:06:32 +01:00
Uwe Rathmann
1b85d3053e QskBoxRenderer fixes 2023-01-04 16:15:22 +01:00
Uwe Rathmann
b449289509 convenience API added 2022-12-30 10:27:18 +01:00
Uwe Rathmann
14cee228e0 SimpleColorIterator added 2022-12-29 08:20:29 +01:00
Uwe Rathmann
8c6f0ffd60 full support of all linear gradient vectors by QskRectRenderer ( = not rounded rectangles ). 2022-12-28 19:39:08 +01:00
Uwe Rathmann
fba8b97a74 monochrome gradients are rendered vertically 2022-12-24 12:22:42 +01:00
Uwe Rathmann
76c8e41fcc radiusX/radiusY to allow ellipsoid and circular radial gradients 2022-12-23 14:57:46 +01:00
Uwe Rathmann
f13026b544 conic gradients fixed 2022-12-22 20:27:49 +01:00