Google

/*
 * Return the bounding rectangle of the given polygon.
 *
 * Example:
 *   bounds = poly.bounds
 *   %q(x y w h).each_index { |i, v| puts v << ' = ' << bounds[i] }
 *
 */
static VALUE poly_bounds(VALUE self) {