Blame view

site/jpgraph/src/Examples/ledex_cyrillic.php 599 Bytes
d72ac078   Guillaume   Ajout graphe V1.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?php // content="text/plain; charset=utf-8"
  
  require_once ('jpgraph/jpgraph.php');
  require_once ('jpgraph/jpgraph_led.php');
  
  // By default each "LED" circle has a radius of 3 pixels. Change to 5 and slghtly smaller margin
  $led = new DigitalLED74(3);
  $led->SetSupersampling(2);
  $text =     'А'.
              'Б'.
              'В'.
              'Г'.
              'Д'.
              'Е'.
              'Ё'.
              'З'.
              'И'.
              'Й'.
              'К'.
              'Л'.
              'М'.
              'Н'.
              'О'.
  			'П';
  $led->StrokeNumber($text, LEDC_RED);
  
  ?>