The Q3Canvas class provides a 2D area that can contain Q3CanvasItem objects. More...
#include <Q3Canvas>Canvas333333333CanvasItem::advance() on every item that is animated and trigger an update of the affected areas afterwards. (A canvas item that is `animated' is simply a canvas item that is in motion.)
Q33Canvas's speed: if there are too many chunks, the speed benefit of grouping canvas items into chunks is reduced. If the chunks are too large, it takes too long to process each one. The Q33Canvas's facilities.
See also Q3CanvasView and Q3CanvasItem.3().33. It behaves essentially like the above function.
Returns a list of items which collide with the rectangle r. The list is ordered by z coordinates, from highest z coordinate (front-most item) to lowest z coordinate (rear-most item).
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.3. It behaves essentially like the above function..().
Sets the Q3Canvas to be composed of h tiles horizontally and v tiles vertically. Each tile will be an image tilewidth by tileheight pixels...
Repaints changed areas in all views of the canvas.
See also advance().
Returns true if the chunk position (x, y) is on the canvas; otherwise returns false.
See also onCanvas().
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Returns true if the chunk position p is on the canvas; otherwise returns false.
See also onCanvas().
Returns the width of the canvas, in pixels.