Subversion Repositories AndroidProjects

Rev

Rev 463 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
421 chris 1
Define CharList
463 chris 2
 ( '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '*', '#',
3
   'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',
539 chris 4
   'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '!', '?', '+', '-', ':', '.');
421 chris 5
 
6
Define WidthList
463 chris 7
 (   5,   6,   6,   6,   6,   6,  6,   6,   6,   6,   27,   23,
8
     6,   6,   6,   6,   6,   6,  6,   6,   3,   4,    6,    6,  7,  6,   6,   6,  6,   6,  6,
539 chris 9
     7,  6,   6,  7,   7,   7,   6,   3,   6, 7, 6, 3, 3);
421 chris 10
 
11
Define RectList
12
 ( (   1,  0,  5,  7), (  7,  0,   6,  7), (  14,  0,  6,  7), (  21,  0,  6,  7),
13
   (  28,  0,  6,  7), (  35,  0,  6,  7), (  42,  0,  6,  7), (  49,  0,  6,  7),
463 chris 14
   (  56,  0,  6,  7), (  63,  0,  6,  7), (  70,  0,  27,  7), (  98,  0,  23,  7),
15
 
16
   (   0,  8,  6, 7), (   7,  8,  6, 7), (   14,  8,  6, 7), (   21,  8,  6, 7),
17
   (  28,  8,  6, 7), (   35,  8,  6, 7), (   42,  8,  6, 7), (   49,  8,  6, 7),
18
   (  56,  8,  3, 7), (   60,  8,  4, 7), (   65,  8,  6, 7), (   72,  8,  6, 7),
19
   (  79,  8,  7, 7), (   87,  8,  6, 7), (   94,  8,  6, 7), (  101,  8,  6, 7),
20
   (  108,  8,  6, 7), (   115,  8,  6, 7), (   122,  8,  6, 7),
21
 
22
   (   0, 16,  7, 7), (   8, 16,  6, 7), (   15, 16,  6, 7), (   22, 16,  7, 7),
539 chris 23
   (  30, 16,  7, 7), (   38, 16,  7, 7), (  46, 16,  6, 7), (   53, 16,  3, 7), (   57, 16,  6, 7),
24
   (  64, 16,  7, 7), (   72, 16, 6, 7),  (79, 16, 3, 7),  (83, 16, 3, 7)
25
 
26
);
463 chris 27
 
421 chris 28
 
29
Define OffsetList
30
 ( (-1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
463 chris 31
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
32
 
33
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
34
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
35
   ( -1, 0), ( -1, 0), ( 1, 0), ( 1, 0),
36
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
37
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
38
   ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0),
539 chris 39
   ( 1, 0), ( 0, 0), ( -1, 0), ( 1, 0),
40
   ( 1, 0), ( 0, 0), ( -1, 0), ( -1, 0)
41
 
463 chris 42
   );
421 chris 43
 
44
CreateLayer               Main;
45
LayerSetImage             Main 'scoring';
46
LayerSetAscent            Main 8;
47
LayerSetCharWidths        Main CharList WidthList;
48
LayerSetCharWidths        Main (' ') (6);
49
LayerSetImageMap          Main CharList RectList;
50
LayerSetCharOffsets       Main CharList OffsetList;
51
LayerSetAscentPadding     Main 0;
52
LayerSetLineSpacingOffset Main 0;
53
LayerSetPointSize         Main 10;
54
 
55
SetDefaultPointSize  8;
463 chris 56
 
57
ConvertGreyScaleToAlpha 0;
58