Learn R Programming

qtpaint (version 1.1.0)

qupdate: 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

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