[quote author="Thorbjørn Lindeijer" date="1285697851"]We've been reluctant to add additional primitives because of speed concerns. For example I wrote an Ellipse element, but it was not accepted since there is no way to make it fast.
However, there is a project that will allow arbitrary things to be drawn into a QML scene, emulating the HTML5 canvas rendering API:
"http://qt.gitorious.org/qt-labs/qmlcanvas":http://qt.gitorious.org/qt-labs/qmlcanvas
You can do a lot of cool things with some imperative drawing code, but you should also be able to write a simple Line component in pure QML based on that.[/quote]
Ah, thank you for the response.
In that case I guess I'll just stick with the already imperative approach that I use with a custom QGraphicsItem. I was trying to get rid of all custom imperative drawing by using a QML approach and some internal JavaScript to make it cleaner, but I guess QML has a different focus - and that seems to be UIs for portable devices.