'Given the location and size of the box, return the path of
the box around it.
- *x0*, *y0*, *width*, *height* : location and size of the box
- *mutation_size* : a reference scale for the mutation.
Often, the *mutation_size* is the font size of the text.
You don\'t need to worry about the rotation as it is
automatically taken care of.'

def transmute(self, x0, y0, width, height, mutation_size):

    pad = (mutation_size * self.pad)
    (width, height) = ((width + (2.0 * pad)), (height + (2.0 * pad)))
    (x0, y0) = ((x0 - pad), (y0 - pad))
    (x1, y1) = ((x0 + width), (y0 + height))
    cp = [(x0, y0), (x1, y0), (x1, y1), (x0, y1), ((x0 - pad), ((y0 + y1) / 2.0)), (x0, y0), (x0, y0)]
    com = [Path.MOVETO, Path.LINETO, Path.LINETO, Path.LINETO, Path.LINETO, Path.LINETO, Path.CLOSEPOLY]
    path = Path(cp, com)
    return path
