| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="122GeneratingLEDlikedigitswithJpGraph.html">
|
|
|
8 |
<LINK REL="Next" HREF="13CodedefinesinJpGraph.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="122GeneratingLEDlikedigitswithJpGraph.html">Previous</A>
|
|
|
26 |
<A HREF="13CodedefinesinJpGraph.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="12_2_1">12.2.1 Adjusting the size of the LED digits</A></H3>
|
|
|
29 |
There are two parameters that can be used to alter the size of the LED
|
|
|
30 |
digits.
|
|
|
31 |
<UL>
|
|
|
32 |
<LI> The size (in pixels) of each "led diode"</LI>
|
|
|
33 |
<LI> The distance, specified as fractions of the "led diode" size
|
|
|
34 |
between each "led diode"</LI>
|
|
|
35 |
</UL>
|
|
|
36 |
These two parameters are given in the constructor which has the
|
|
|
37 |
signature <TT>DigitalLED74::DigitalLED74($aRadius=2,$aMargin=0.6)</TT>
|
|
|
38 |
as can be seen from the above signature the default size is 2 pixels in
|
|
|
39 |
size and a fraction of 0.6 as the distance.<HR NOSHADE>
|
|
|
40 |
<A HREF="toc.html">Contents</A>
|
|
|
41 |
<A HREF="122GeneratingLEDlikedigitswithJpGraph.html">Previous</A>
|
|
|
42 |
<A HREF="13CodedefinesinJpGraph.html">Next</A>
|
|
|
43 |
</BODY>
|
|
|
44 |
</HTML>
|