<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QML Canvas saving drawings to image WinCE]]></title><description><![CDATA[<p dir="auto">I have two canvases, one for loading an image and the other one for painting. I managed to get the save of my drawings into the image with the following code on windows desktop, but could not get the same code working on WinCE HW. Not sure what could be wrong. Is it a bug in Qt side or do i need to do any additional step to get it to work?</p>
<p dir="auto">onImageLoaded:<br />
{<br />
var ctx = getContext('2d')<br />
ctx.clearRect(0, 0 , width, height)<br />
ctx.drawImage(flickable.imgfile, 0, 0, width, height)<br />
ctx.drawImage(canvas, 0, 0, width, height) // canvas has all the drawings<br />
save(...)<br />
}</p>
<p dir="auto">Any help would be great...</p>
]]></description><link>https://forum.qt.io/topic/37193/qml-canvas-saving-drawings-to-image-wince</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 16:46:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/37193.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jan 2014 13:22:57 GMT</pubDate><ttl>60</ttl></channel></rss>