Updating drawings

Description

Force a redraw of a layer or scene, clearing the cache. This needs to be called whenever the drawing would change, e.g., if the data or some visual attribute has changed. There is no automatic way for qtpaint to detect this.

Usage

1
2
3
4
5
6
7
qupdate(x)
## S3 method for class 'QGraphicsView'
qupdate(x)
## S3 method for class 'QGraphicsScene'
qupdate(x)
## S3 method for class 'QGraphicsItem'
qupdate(x)

Arguments

x

The object, usually a layer or scene, to be redrawn

Author(s)

Michael Lawrence