grobX                  package:grid                  R Documentation

_C_r_e_a_t_e _a _U_n_i_t _D_e_s_c_r_i_b_i_n_g _a _G_r_o_b _B_o_u_n_d_a_r_y _L_o_c_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     These functions create a unit object describing a location
     somewhere on the boundary of a grob.  They are generic.

_U_s_a_g_e:

     grobX(x, theta)
     grobY(x, theta)

_A_r_g_u_m_e_n_t_s:

       x: A grob, or gList, or gTree, or gPath.

   theta: An angle indicating where the location is on the grob
          boundary.  Can be one of '"east"', '"north"', '"west"', or
          '"south"', which correspond to angles 0, 90, 180, and 270,
          respectively.

_D_e_t_a_i_l_s:

     The angle is anti-clockwise with zero corresponding to a line with
     an origin centred between the extreme points of the shape, and
     pointing at 3 o'clock.

     If the grob describes a single shape, the boundary value should
     correspond to the exact edge of the shape.

     If the grob describes multiple shapes, the boundary value will
     either correspond to the edge of a bounding box around all of the
     shapes described by the grob (for multiple rectangles, circles,
     xsplines, or text), or to a  convex hull around all vertices of
     all shapes described by the grob (for multiple polygons, points,
     lines, polylines,  and segments).

     Points grobs are currently a special case because the convex hull
     is based on the data symbol _locations_ and does not take into
     account the extent of the data symbols themselves.

     The extents of any arrow heads are currently _not_ taken into
     account.

_V_a_l_u_e:

     A unit object.

_A_u_t_h_o_r(_s):

     Paul Murrell

_S_e_e _A_l_s_o:

     'unit' and 'grobWidth'

