x1, y1, x2, y2 = GetPathExtents(id)
id. The
current fill style and form style is taken into account by this function.
The extents are returned as a bounding rectangle. Note that all return
values specify absolute point positions. To get the width and height of
the path from these positions you have to subtract x1 from x2 and y1
from y2.