| Line 16... |
Line 16... |
| 16 |
\item{x}{An object of class \code{"grob"} or NULL.}
|
16 |
\item{x}{An object of class \code{"grob"} or NULL.}
|
| 17 |
\item{recording}{A logical value to indicate whether the drawing
|
17 |
\item{recording}{A logical value to indicate whether the drawing
|
| 18 |
operation should be recorded on the Grid display list.}
|
18 |
operation should be recorded on the Grid display list.}
|
| 19 |
}
|
19 |
}
|
| 20 |
\details{
|
20 |
\details{
|
| 21 |
This is a generic function with methods for grob and gTree objects.
|
21 |
This is a generic function with methods for grob and \I{gTree} objects.
|
| 22 |
|
22 |
|
| 23 |
The grob and gTree methods automatically push any viewports in a
|
23 |
The grob and \I{gTree} methods automatically push any viewports in a
|
| 24 |
\code{vp} slot and automatically apply any \code{gpar} settings
|
24 |
\code{vp} slot and automatically apply any \code{gpar} settings
|
| 25 |
in a \code{gp} slot. In addition, the gTree method pushes and
|
25 |
in a \code{gp} slot. In addition, the \I{gTree} method pushes and
|
| 26 |
ups any viewports in a \code{childrenvp} slot and automatically
|
26 |
ups any viewports in a \code{childrenvp} slot and automatically
|
| 27 |
calls \code{grid.draw} for any grobs in a \code{children} slot.
|
27 |
calls \code{grid.draw} for any grobs in a \code{children} slot.
|
| 28 |
|
28 |
|
| 29 |
The methods for grob and gTree call the generic hook functions
|
29 |
The methods for grob and \I{gTree} call the generic hook functions
|
| 30 |
\code{preDrawDetails}, \code{drawDetails}, and \code{postDrawDetails}
|
30 |
\code{preDrawDetails}, \code{drawDetails}, and \code{postDrawDetails}
|
| 31 |
to allow classes derived from grob or gTree to perform
|
31 |
to allow classes derived from grob or \I{gTree} to perform
|
| 32 |
additional viewport pushing/popping and produce additional
|
32 |
additional viewport pushing/popping and produce additional
|
| 33 |
output beyond the default behaviour for grobs and gTrees.
|
33 |
output beyond the default behaviour for grobs and \I{gTree}s.
|
| 34 |
}
|
34 |
}
|
| 35 |
\value{
|
35 |
\value{
|
| 36 |
None.
|
36 |
None.
|
| 37 |
}
|
37 |
}
|
| 38 |
\author{Paul Murrell}
|
38 |
\author{Paul Murrell}
|