Procházet zdrojové kódy

prepare to choose method via nonce

master
MEUNIER Thibaud před 4 roky
rodič
revize
a79e986350
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. +2
    -3
      methode2/robot.php

+ 2
- 3
methode2/robot.php Zobrazit soubor

@ -38,7 +38,7 @@ $mode=8;
if (isset($argv[3])) $mode=intval($argv[3]);
// ---
// --- Par défaut mode 8
// --- Par défaut taille 1
// ---
$taille=1;
if (isset($argv[4])) $taille=intval($argv[4]);
@ -66,10 +66,9 @@ if ($methode == 'mondrian') $couleur = 9;
$width = $marge + ($width*2) + (2*$text_border);
$height = $marge + ($height*2);
// création d'une image plus haute pour inclure bandeaux haut et bas
$img_w = $width;
$img_h = $height+(2*$bandeau);
// création d'une image plus haute pour inclure bandeaux haut et bas
$img = imagecreatetruecolor($img_w, $img_h);
// ---

Načítá se…
Zrušit
Uložit