diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 22:04:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 22:04:08 -0600 |
commit | e02e31c8b9d854cd62cbe9799228f6e08e882773 (patch) | |
tree | 53303c981d0b20e03c5a2fc8e959fa74adcb90d1 /doc/html/qcanvas.html | |
parent | 143f194af098d44bf0dd1ebb29e59f30ce48d523 (diff) | |
download | tqt3-e02e31c8b9d854cd62cbe9799228f6e08e882773.tar.gz tqt3-e02e31c8b9d854cd62cbe9799228f6e08e882773.zip |
Sync with latest script
Diffstat (limited to 'doc/html/qcanvas.html')
-rw-r--r-- | doc/html/qcanvas.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qcanvas.html b/doc/html/qcanvas.html index 5c68676f0..fbfdbd12e 100644 --- a/doc/html/qcanvas.html +++ b/doc/html/qcanvas.html @@ -266,7 +266,7 @@ item is an item that is in motion; see setVelocity().) canvas item is called with paramater 0. Then all these canvas items are called again, with parameter 1. In phase 0, the canvas items should not change position, merely examine other items on -the canvas for which special processing is retquired, such as +the canvas for which special processing is required, such as collisions between items. In phase 1, all canvas items should change positions, ignoring any other items on the canvas. This two-phase approach allows for considerations of "fairness", @@ -408,10 +408,10 @@ many objects on the canvas. <p> The canvas is divided into chunks which are rectangular areas <em>chunksze</em> wide by <em>chunksze</em> high. Use a chunk size which is about the average size of the canvas items. If you choose a chunk size which is too small it will increase the amount of calculation -retquired when drawing since each change will affect many chunks. +required when drawing since each change will affect many chunks. If you choose a chunk size which is too large the amount of -drawing retquired will increase because for each change, a lot of -drawing will be retquired since there will be many (unchanged) +drawing required will increase because for each change, a lot of +drawing will be required since there will be many (unchanged) canvas items which are in the same chunk as the changed canvas items. <p> Internally, a canvas uses a low-resolution "chunk matrix" to keep |