fn combine_rects( r1: Option<Rect>, r2: Option<Rect>, transform: &Transform, clip: bool ) -> Option<Rect>