You can use the CGRectIsInfinite() function to detect infinite rects,
John
On Jun 3, 2005, at 1:20 PM, Gabriele de Simone wrote:
Quartz Composer is able to determine when a CIImage that results
from a patch has infinite dimensions. I assumed that it was doing
so by calling -[CIImage extent] and comparing the width and height
to INFINITY, or use the isnan() macro... but as it turns out, the
actual "infinite" coordinates for my CIImages are: