using barRect() for boundingRect()