summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index 4bcdb41..4adac96 100644
--- a/README
+++ b/README
@@ -3,8 +3,10 @@ INSTALLATION:
To try out the examples just do 'qmake' and 'make' in
the root directory and run each example using the qmlviewer.
+
USAGE:
+
The canvas itself supports a large subset of the html5 canvas.
To get a feel for what is possible, just look at the examples.
@@ -16,8 +18,10 @@ Images needs to be created by a factory function so you cannot do
Instead you create it like this:
var myImage = context.createImage("file.png);
+
PAINT UPDATES:
+
You can get the context by calling
var context = canvas.getContext();
@@ -29,3 +33,10 @@ Canvas {
}
This is usually more optimal than simply calling myCustomDrawFunction directly in the timer, because we allow the system to drop frames when the draw function is too expensive, instead of drowning the event loop in tasks to process.
+
+
+FEEDBACK
+
+For comments or suggestions, feel free to contact the author at
+jens.bache-wiig { at } nokia.com.
+