http://i.stack.imgur.com/LbQSu.png
I have to boxes with same ratio.
How can I find position x,y and width,height in the second box ?
http://i.stack.imgur.com/LbQSu.png
I have to boxes with same ratio.
How can I find position x,y and width,height in the second box ?
Multiplying the small $x$-value ($10$) with the ratio between the two heights should do the trick. And likewise for everything else. So $x$ in the larger box would be twice $10\times\frac{100}{50} = 20$.