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'.

