source: trunk/xgraph/jpgraph/Examples/ledex_cyrillic.php @ 42

Last change on this file since 42 was 42, checked in by marrucho, 10 years ago
File size: 626 bytes
Line 
1<?php // content="text/plain; charset=utf-8"
2
3require_once ('jpgraph/jpgraph.php');
4require_once ('jpgraph/jpgraph_led.php');
5
6// By default each "LED" circle has a radius of 3 pixels. Change to 5 and slghtly smaller margin
7$led = new DigitalLED74(3);
8$led->SetSupersampling(2);
9$text =     'А'.
10            'Б'.
11            'В'.
12            'Г'.
13            'Д'.
14            'Е'.
15            'Ё'.
16            'З'.
17            'И'.
18            'Й'.
19            'К'.
20            'Л'.
21            'М'.
22            'Н'.
23            'О'.
24                        'П';
25$led->StrokeNumber($text, LEDC_RED);
26
27?>
Note: See TracBrowser for help on using the repository browser.