Support onPaint again.
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>
Mon, 6 Sep 2010 10:30:38 +0000 (12:30 +0200)
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>
Mon, 6 Sep 2010 10:30:38 +0000 (12:30 +0200)
commitb839c3fee812dae911cc224fc99d3c9dde303732
treef2b2fbca3e4cda91421ec1f9384358c986dd3db1
parent34cec20e86eef1f84b11e9ecf41fa21cb45facc6
Support onPaint again.

I now support both retained (requestPaint()) and direct
canvas access. This is a bit suboptimal but it turns out
certain use cases really needs a paint event in order to be
implemented efficiently.
examples/balls/balls.js
examples/balls/balls.qml
examples/graph/graph.qml
examples/simple/Spiro.qml
src/canvas.cpp
src/canvas.h
src/context2d.cpp
src/context2d.h