I did it.
Following Code solve my problem:
Canvas{
...
onWidthChanged: {
var ctx = getContext('2d');
ctx.reset();
[draw some stuff]
}
}
Bux52
↧