Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: fd1030cf57
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (28 sloc) 724 Bytes
\title{Draw the brush rectangle}
draw_brush(layer, painter, data, meta)
\item{layer,painter}{the painter of the layer on which to
draw the brush}
\item{data}{the data created by \code{\link{qdata}}; a
brush object is in \code{brush(data)}; the color and line
width of the brush are stored in this object}
\item{meta}{the meta data (has a least these two
components: \code{meta$pos} and \code{meta$brush.size})}
Draw a rectangle with a spot according to the information
in the meta data.
## see the source code of, e.g., qbar() for its usage
Yihui Xie <\url{}>
Jump to Line
Something went wrong with that request. Please try again.