Re: Rounding with #xywh=percent:25,25,50,50

On Apr 6, 2011, at 15:14 , Raphaël Troncy wrote:

>> Yeah, I think we need to be more specific. My suggestion is to round
>> up, but am curious what ppl think.
> 
> +1 ... and added to list of items to discuss next week.


... And just after I pressed "send" I realised that "rounding up" isn't the right term. I think we should round in such a way that we enclose at least the specified region. Therefore, X and Y should be numerically rounded down, and width and height numerically up.
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman

Received on Wednesday, 6 April 2011 14:01:59 UTC