Inizializzazione
This commit is contained in:
27
jpgraph-3.5.0b1/src/Examples/ledex_cyrillic2.php
Normal file
27
jpgraph-3.5.0b1/src/Examples/ledex_cyrillic2.php
Normal file
@@ -0,0 +1,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);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user