<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Colin,</p>
<p>check out QQuickPaintedItem and QSvgRenderer.<br>
</p>
<pre class="moz-signature" cols="1000">--
Frank
</pre>
<div class="moz-cite-prefix">On 10.08.19 15:06, Colin Worth wrote:<br>
</div>
<blockquote type="cite"
cite="mid:664DBC86-18DA-4D4B-BA28-3800BA7BD09F@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ApplePlainTextBody">I need to render ~10 custom small
2D shapes to the screen as part of a UI written in QML, and then
update them quickly. The shapes represent data values coming in
from 10 sensors at a high data rate (~1000 hz). The refresh rate
on the screen can be lower (20-60 hz). The shapes need to change
color to represent the magnitude of the data, and I’d like to
put a gradient on the color fill. What is a nice efficient way
to do this? CPU usage is important because there is a 3D scene
animation running in another part of the window. I’ve used the
nanopaint libraries before, so this is an option. It would also
be nice to have svg support for the shapes, but it’s not a
deal-breaker. The app is a cross-platform desktop app
(linux/Mac/windows) and can assume some GPU acceleration.<br>
<br>
Colin</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Interest@qt-project.org">Interest@qt-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.qt-project.org/listinfo/interest">https://lists.qt-project.org/listinfo/interest</a>
</pre>
</blockquote>
</body>
</html>