Draw a dashed and dotted bezier curve in QML
I've seen there is an example implementation of a Bezier curve in QML , but I'm looking for a hint how to implement dashed or dotted bezier curve line. As far as I see, tha authors of Bezier curve example are using QSGGeometryNode to store inside QSGGeometry with a QSGFlatColorMaterial material applied on it. Then they simply create list of points and draw segments between them. Is it possible to write a shader and apply it to QSGFlatColorMaterial (to display line as dashed , dotted , etc)? Eventually, is it possible to store more than one QSGGeometry inside QSGGeometryNode ? UPDATE I would