Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
244 chris 1
Define CharList
2
 ( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '-', ',' , ':');
3
 
4
Define WidthList
5
 (  13,  12,  13,  12,  13,  13,  13,  12,  13,  13,  13,   9,   3 , 3);
6
 
7
Define RectList
8
 ( (   0,  0, 12, 28), (  13,  0,  4, 28), (  18,  0, 12, 28), (  31,  0, 12, 28),
9
   (  44,  0, 12, 28), (  57,  0, 12, 28), (  70,  0, 12, 28), (  83,  0, 11, 28),
10
   (  95,  0, 12, 28), ( 108,  0, 12, 28), ( 121,  0, 12, 28), ( 134,  0,  9, 28),
11
   ( 144,  0,  3, 28), ( 148,  0,  3, 28));
12
 
13
Define OffsetList
14
 ( ( 0, 0), ( 6, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0),
15
   ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0));
16
 
17
CreateLayer               Main;
18
LayerSetImage             Main 'supernova20';
19
LayerSetAscent            Main 23;
20
LayerSetCharWidths        Main CharList WidthList;
21
LayerSetCharWidths        Main (' ') (8);
22
LayerSetImageMap          Main CharList RectList;
23
LayerSetCharOffsets       Main CharList OffsetList;
24
LayerSetAscentPadding     Main 0;
25
LayerSetLineSpacingOffset Main 0;
26
LayerSetPointSize         Main 20;
27
 
28
SetDefaultPointSize  20;