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

On  6-Apr-2011, at 18:12 , Philip Jägenstedt wrote:
> 
> The formula for always enclosing the region would be:
> 
> x' = floor(x)
> y' = floor(y)
> w' = ceil(x+w) - floor(x)
> h' = ceil(y+h) - floor(y)

Absolutely right. I was confusing xyxy-style rectangles.

I think what you suggest is what we should go with,

Received on Friday, 8 April 2011 23:12:09 UTC