2000) { $x = 2000; } if ($y > 2000) { $y = 2000; } } if ($zm == 4) { $x = ($cx + ($x * 5)) - 500; $y = ($cy + ($y * 5)) - 500; // 0.6.1.1 Correccion del borde if ($x < 0) { $x = 0; } if ($y < 0) { $y = 0; } if ($x > 3000) { $x = 3000; } if ($y > 3000) { $y = 3000; } } if ($zm == 8) { $x = ($cx + ($x * 2.5)) - 250; $y = ($cy + ($y * 2.5)) - 250; } if ($zm == 16) { $x = ($cx + ($x * 1.25)) - 125; $y = ($cy + ($y * 1.25)) - 125; } if ($zm == 32) { $x = ($cx + ($x * 0.625)) - 125; $y = ($cy + ($y * 0.625)) - 125; $zm = 16; } } ?> | Coord:
X: - Y: Add
prov points. |
|||||||
|
![]() |
|||||||
$la) { $la = $la * $sz; $la = $la / $an; $an = $sz; } if ($la > $an) { $an = $an * $sz; $an = $an / $la; $la = $sz; } if ($la == $an) { $an = $sz; $la = $sz; } $size2 = filesize($v1); $size2 = $size2 / 1024; $size2 = round($size2); $copyfile = $opend."/".$v1; $original_file =$v1; copy($original_file , $copyfile); $dest = "c:\maps\\recipiente.jpg"; $img_src=imagecreatefromjpeg($v1); $img_dst=imagecreatetruecolor($an,$la); imagecopyresampled($img_dst, $img_src, 0, 0, $x, $y, $an, $la, $an1, $la1); $dest = $opend."/".$v1; imagejpeg($img_dst, $dest, 100); ?> | ![]()
1) {
$limx = $x / 10;
$limy = $y / 10;
$px = (($px / 100) - 837.9809) + 81.6069;
if ($px >= $limx) {
$px = ($px - $limx) * $zm;
if ($px <= 400) {
$py = 400 - (($py / 100) - 858.8218);
if ($py >= $limy) {
$py = ($py - $limy) * $zm;
if ($py <= 400) {
$visible = true;
$puntos_en_vista[$pev] = true;
}else{
$visible = false;
$puntos_en_vista[$pev] = false;
}
}else{
$visible = false;
$puntos_en_vista[$pev] = false;
}
}
}
}
if ($visible == true) {
?>
|
![]() |
|
|
||||
|
![]() |
|||||||