
We have two graphics, big and small, we know x/y of the big graphic.
How to get the coords x/y of a small graphic?
<?php
$graph1_x = 100;
$graph1_y = 50;
$coords_graph1_x = 30;
$coords_graph1_y = 40;
$graph2_x = 70;
$graph2_y = 25;
// How to get x/y of graph2 using graph1 ?
?>