The R Project SVN R

Rev

Rev 63911 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 63911 Rev 65183
Line 8... Line 8...
8
\description{
8
\description{
9
  Determine the number of levels in a viewport stack or tree,
9
  Determine the number of levels in a viewport stack or tree,
10
  in a viewport path, or in a grob path.
10
  in a viewport path, or in a grob path.
11
}
11
}
12
\usage{
12
\usage{
13
depth(x)
13
depth(x, ...)
14
\method{depth}{viewport}(x)
14
\method{depth}{viewport}(x, ...)
15
\method{depth}{path}(x)
15
\method{depth}{path}(x, ...)
16
}
16
}
17
%- maybe also 'usage' for other objects documented here.
17
%- maybe also 'usage' for other objects documented here.
18
\arguments{
18
\arguments{
19
  \item{x}{
19
  \item{x}{
20
    Typically a viewport or viewport stack or viewport tree or viewport
20
    Typically a viewport or viewport stack or viewport tree or viewport
21
    list, or a viewport path, or a grob path.
21
    list, or a viewport path, or a grob path.
22
  }
22
  }
-
 
23
  \item{\dots}{ Arguments used by other methods. }
23
}
24
}
24
\details{
25
\details{
25
  Depths of paths are pretty straightforward because they contain
26
  Depths of paths are pretty straightforward because they contain
26
  no branchings.  The depth of a viewport stack is the sum of the depths
27
  no branchings.  The depth of a viewport stack is the sum of the depths
27
  of the components of the stack.  The depth of a viewport tree is
28
  of the components of the stack.  The depth of a viewport tree is