First time here? Check out the FAQ!
From the source code it seems that on failure it returns the default RoteatedRect: if( fabs(m00) < DBL_EPSILON )