drawDetails               package:grid               R Documentation

_C_u_s_t_o_m_i_s_i_n_g _g_r_i_d _D_r_a_w_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     These generic hook functions are called whenever a grid grob is
     drawn. They provide an opportunity for customising the drawing of
     a new class derived from grob (or gTree).

_U_s_a_g_e:

     drawDetails(x, recording)
     draw.details(x, recording)
     preDrawDetails(x)
     postDrawDetails(x)

_A_r_g_u_m_e_n_t_s:

       x: A grid grob. 

recording: A logical value indicating whether a grob is being added to
          the display list or redrawn from the display list. 

_D_e_t_a_i_l_s:

     These functions are called by the 'grid.draw' methods for grobs
     and gTrees.

     'preDrawDetails' is called first during the drawing of a grob.
     This is where any additional viewports should be pushed (see, for
     example, 'grid:::preDrawDetails.frame').  Note that the default
     behaviour for grobs is to push any viewports in the 'vp' slot, and
     for gTrees is to also push and up any viewports in the
     'childrenvp' slot so there is typically nothing to do here.

     'drawDetails' is called next and is where any additional
     calculations and graphical output should occur (see, for example,
     'grid:::drawDetails.xaxis'.  Note that the default behaviour for
     gTrees is to draw all grobs in the 'children' slot so there is
     typically nothing to do here.

     'postDrawDetails' is called last and should reverse anything done
     in 'preDrawDetails' (i.e., pop or up any viewports that were
     pushed;  again, see, for example, 'grid:::postDrawDetails.frame').
      Note that the default behaviour for grobs is to pop any viewports
     that were pushed so there is typically nothing to do here.

     Note that 'preDrawDetails' and 'postDrawDetails' are also called
     in the calculation of '"grobwidth"' and '"grobheight"' units.

_V_a_l_u_e:

     None of these functions are expected to return a value.

_A_u_t_h_o_r(_s):

     Paul Murrell

_S_e_e _A_l_s_o:

     'grid.draw'

