xDetails                package:grid                R Documentation

_B_o_u_n_d_a_r_y _o_f _a _g_r_i_d _g_r_o_b

_D_e_s_c_r_i_p_t_i_o_n:

     These generic functions are used to determine a location on the
     boundary of a grid grob.

_U_s_a_g_e:

     xDetails(x, theta)
     yDetails(x, theta)

_A_r_g_u_m_e_n_t_s:

       x: A grid grob. 

   theta: A numeric angle, in degrees, measured anti-clockwise from the
          3 o'clock _or_ one of the following character strings:
          '"north"', '"east"', '"west"', '"south"'.

_D_e_t_a_i_l_s:

     The location on the grob boundary is determined by taking a line
     from the centre of the grob at the angle 'theta' and intersecting
     it with the convex hull of the grob (for the basic grob
     primitives, the centre is determined as half way between the
     minimum and maximum values in x and y directions).

     These functions are called in the calculation of '"grobx"' and
     '"groby"' units as produced by the 'grobX' and 'grobY' functions.
     Methods should be written for classes derived from grob or gTree
     where the boundary of the grob can be determined.

_V_a_l_u_e:

     A unit object.

_A_u_t_h_o_r(_s):

     Paul Murrell

_S_e_e _A_l_s_o:

     'grobX', 'grobY'.

