Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML Canvas saving drawings to image WinCE
paukis last edited by
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?
var ctx = getContext('2d')
ctx.clearRect(0, 0 , width, height)
ctx.drawImage(flickable.imgfile, 0, 0, width, height)
ctx.drawImage(canvas, 0, 0, width, height) // canvas has all the drawings
Any help would be great...