0
$\begingroup$

enter image description here

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 ?

  • 0
    $x$ and $y$ are positions of what? If this is taking place on the Cartesian plane, where is the origin?2018-05-07

1 Answers 1

0

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$.