Commit Graph

330 Commits

Author SHA1 Message Date
Uwe Rathmann bdf4bb045c QskTreeNode introduced 2023-12-17 17:28:00 +01:00
Uwe Rathmann 1e3e1f83de QskBox namespace renamed to QskBoxRenderer to avoid name clashes with
QskBox from QskBox.h
2023-12-17 17:18:35 +01:00
Uwe Rathmann 5e5dd7a61c doing a fuzzy compare to avoid line duplication 2023-12-13 18:14:47 +01:00
Uwe Rathmann c58a86130a wring pen check fixed 2023-12-05 16:54:08 +01:00
Uwe Rathmann 6c826c3adc tickWidth moved into QskGraduationMetrics 2023-11-28 15:19:49 +01:00
Uwe Rathmann 3fabf3ee03 using QskGraduationMetrics 2023-11-28 14:35:28 +01:00
Uwe Rathmann d0472bc617 QskScaleRenderer -> QskGraduationRenderer 2023-11-28 13:45:14 +01:00
Uwe Rathmann 717a1c2ef2 code from features/plots merged 2023-11-28 13:36:47 +01:00
Uwe Rathmann 3c505652a3 QskIntervalF::width -> QskIntervalF::length 2023-11-28 13:12:52 +01:00
Uwe Rathmann 54761e5a64 QskScaleTickmarks -> QskTickmarks 2023-11-28 10:46:03 +01:00
Uwe Rathmann 24949074d4 QskGraduationMetrics introduced 2023-11-25 17:04:06 +01:00
Uwe Rathmann 534ffb41e1 QskBasicLinesNode completed 2023-11-24 13:07:53 +01:00
Uwe Rathmann f3a1de5b00 alignment fixed, when having a devicePixelRatio 2023-11-24 11:21:50 +01:00
Uwe Rathmann e7752a25f9 forgotten qt5 code added 2023-11-23 16:50:26 +01:00
Uwe Rathmann e31c063937 QskLinesNode derived from QskBasicLinesNode 2023-11-23 15:47:08 +01:00
Uwe Rathmann dc64f21901 QskBasicLinesNode ( crisplines shaders ) introduced 2023-11-23 15:38:25 +01:00
Uwe Rathmann 68cca6a53c QskBoxFillNode introduced 2023-11-15 11:47:56 +01:00
Uwe Rathmann 1ab236de9f better fading support for popups, being used in QskDrawer/QskMenu/QskSubWindow 2023-11-03 18:13:24 +01:00
Uwe Rathmann e56360480f using 0/1 for closed/open ( instead of 1/0 ) 2023-10-18 15:07:29 +02:00
Uwe Rathmann 3ecd8f337e code moved from QskPopupSkinlet to QskSlideInNode 2023-10-15 15:44:09 +02:00
Uwe Rathmann d43d6bfce2 missing forward declaration added 2023-07-20 08:29:32 +02:00
Uwe Rathmann 23f970650f always use stencil clipping - unfortunately the batch renderer
introduces rounding errors for the significantly faster scissor clips
2023-07-19 15:10:25 +02:00
Uwe Rathmann 34776ee664 using QskLinesNode in the dials example 2023-06-05 10:42:05 +02:00
Uwe Rathmann 587183993b QskLinesNode improvements 2023-05-25 15:03:48 +02:00
Uwe Rathmann 3c62809308 exporting resetGeometry 2023-05-25 14:58:37 +02:00
Uwe Rathmann d84e75a3d1 implementation of QskStippleMetrics completed 2023-05-25 14:52:54 +02:00
Uwe Rathmann 5d3cba5650 QskLinesNode reorganized 2023-05-17 16:46:25 +02:00
Uwe Rathmann bf19d6464c QskLinesNode introduced 2023-05-17 14:21:40 +02:00
Uwe Rathmann 8f4d008900 conveniece methods ( without QTransform ) added 2023-05-08 09:37:43 +02:00
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
Uwe Rathmann a2a2c63678 qskEffectiveGradient fixed 2022-12-22 20:27:17 +01:00
Uwe Rathmann 82cb6e6811 QskGradient::effectiveGradient added 2022-12-22 20:13:45 +01:00
Uwe Rathmann 4670e3b5d3 wrong vector size fixed 2022-12-22 17:49:02 +01:00
Uwe Rathmann 3de71d1bd5 QskGradient::Spread -> QskGradient::SpreadMode 2022-12-22 11:45:23 +01:00
Uwe Rathmann 26e422ac07 convenience update method added 2022-12-20 16:29:51 +01:00
Uwe Rathmann 8318ff757b update issues with gradients fixed 2022-12-10 16:08:32 +01:00
Uwe Rathmann fd5856cd50 class renamed 2022-12-09 12:03:46 +01:00
Uwe Rathmann 334254caf8 crash fixed for square rectangles with mutiple stops at 0.5 2022-12-09 11:54:42 +01:00
Uwe Rathmann b36521b0ed code moved to cpp file 2022-12-09 11:50:31 +01:00
Uwe Rathmann 5f6ab6db42 code moved to QskBoxRenderer.cpp 2022-12-06 16:52:55 +01:00
Uwe Rathmann e1b65c6dd6 QskBoxRenderer::isGradientSupported also depends on the shape ( at least
in the future )
2022-12-06 16:37:18 +01:00
Uwe Rathmann 8551f4459d gardient check fixed 2022-12-06 16:32:27 +01:00
Uwe Rathmann 3bab38029d wrong update check fixed 2022-12-06 16:31:58 +01:00
Uwe Rathmann a2e29e0d16 code moved to QskVertex + hiding classes in QskVertex from public use 2022-12-06 13:20:18 +01:00
Uwe Rathmann 778ed1de9e QskBoxRectangleNode supports rounded rectangles now. 2022-12-06 12:12:54 +01:00
Uwe Rathmann 9ae7dc2f63 QskGradientNode renamed to QskRectangleNode 2022-12-06 09:58:46 +01:00
Uwe Rathmann 6d726eee0a QskGradientNode introduced for rectangles filled with any type of
gradient being supported by QskGradient. It is lighter than QskBoxNode,
that is a compositition of border/gradient/shadow. Used for the
background node now - what means, that background can have radial/conic
gradients now as well.
2022-12-05 17:10:13 +01:00
Uwe Rathmann c31d554d6b QskBoxRenderer::isGradientSupported introduced 2022-12-05 17:08:32 +01:00
Uwe Rathmann 9d409ab89b QskBoxRenderer with static methods 2022-12-05 17:06:55 +01:00
Uwe Rathmann 6ed417873e QskSGNode::resetGeometry added 2022-12-05 17:00:54 +01:00
Uwe Rathmann 296b2f368a code simplified/harmonized 2022-12-05 13:05:13 +01:00