Then *clip* roi to R's pixels at the start of the function.
On Jul 23, 2012, at 2:46 PM, Stefan Stavrev wrote: > Yes, I thought of that too, but when looping for each pixel > we will have an additional check if the iterator for R is valid. > One thing it will clutter code, another is it adds to cost. > That is why I think we should deal with it in the public > function and either return false or resize. -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
