Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
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="131AdjustingthesizeoftheLEDdigits.html">
8
<LINK REL="Next" HREF="14CodedefinesinJpGraph.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="131AdjustingthesizeoftheLEDdigits.html">Previous</A>
26
<A HREF="14CodedefinesinJpGraph.html">Next</A>
27
<HR NOSHADE>
28
 
29
<H2><A NAME="13_2">13.2 Improving the LEDs with supersampling</A></H2>
30
 In order to improve the visual appearance the library uses
31
 super-sampling in order to create an anti-aliased image of the LED
32
 digits. The default level of super-sampling is 3 times (oversampling).
33
 In order reduce the CPU load the amount of oversampling can be lowered.
34
 The level of super-sampling is controlled via the method <TT>
35
DigitalLed74::SetSupersampling::($aSuperSampling=3)</TT>
36
<P> For example setting the oversampling to &quot;1&quot; is the same thing as
37
 disabling super-sampling. This will generate a fast image but a LED
38
 appearance that looks quite &quot;rugged&quot;.</P>
39
<P> Increasing the level of oversampling above &quot;4&quot; gives almost no
40
 visual improvement to the resulting image, it will only increase the
41
 CPU time needed to create the final image. Hence it is recommended that
42
 the super-sampling is only specified as an integer in the range one to
43
 four.</P>
44
<HR NOSHADE>
45
<A HREF="toc.html">Contents</A>
46
<A HREF="131AdjustingthesizeoftheLEDdigits.html">Previous</A>
47
<A HREF="14CodedefinesinJpGraph.html">Next</A>
48
</BODY>
49
</HTML>