summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>2010-09-08 09:29:52 +0200
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>2010-09-08 09:29:52 +0200
commitf640900e20490e061020fe7c352439aa3167167f (patch)
treef199f3bc09af213386b950ac5585203bea69262d
parent60eaea9924df0a887afe224271a56c365686708c (diff)
Modifications to docs
-rw-r--r--README11
-rw-r--r--examples/blob/blobsallad.js2
2 files changed, 12 insertions, 1 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.
+
diff --git a/examples/blob/blobsallad.js b/examples/blob/blobsallad.js
index 2914ef5..71bbc03 100644
--- a/examples/blob/blobsallad.js
+++ b/examples/blob/blobsallad.js
@@ -1,5 +1,5 @@
/*
- This example is adapted from code written by: bjoern.lindberg@gmail.com
+ This example is adapted from code written by: Bjoern Lindberg
and can be found at http://www.blobsallad.se/
*/