areaDetector  3-13
EPICS areaDetector framework
NDPluginOverlayTextFont.h
Go to the documentation of this file.
1 // Support for text overlays in NDPluginOverlay
2 // Keith Brister 2014-06-26
3 //
4 //
5 // Modified output from bdf2c
6 // (c) 2009, 2010 Lutz Sammer, License: AGPLv3
7 
9  unsigned char width;
10  unsigned char height;
11  const unsigned char *bitmap;
13 
14 
16 extern const int NDPluginOverlayTextFontBitmapTypeN;
17 
18 #define ________ 0x00
19 #define _______X 0x01
20 #define ______X_ 0x02
21 #define ______XX 0x03
22 #define _____X__ 0x04
23 #define _____X_X 0x05
24 #define _____XX_ 0x06
25 #define _____XXX 0x07
26 #define ____X___ 0x08
27 #define ____X__X 0x09
28 #define ____X_X_ 0x0A
29 #define ____X_XX 0x0B
30 #define ____XX__ 0x0C
31 #define ____XX_X 0x0D
32 #define ____XXX_ 0x0E
33 #define ____XXXX 0x0F
34 #define ___X____ 0x10
35 #define ___X___X 0x11
36 #define ___X__X_ 0x12
37 #define ___X__XX 0x13
38 #define ___X_X__ 0x14
39 #define ___X_X_X 0x15
40 #define ___X_XX_ 0x16
41 #define ___X_XXX 0x17
42 #define ___XX___ 0x18
43 #define ___XX__X 0x19
44 #define ___XX_X_ 0x1A
45 #define ___XX_XX 0x1B
46 #define ___XXX__ 0x1C
47 #define ___XXX_X 0x1D
48 #define ___XXXX_ 0x1E
49 #define ___XXXXX 0x1F
50 #define __X_____ 0x20
51 #define __X____X 0x21
52 #define __X___X_ 0x22
53 #define __X___XX 0x23
54 #define __X__X__ 0x24
55 #define __X__X_X 0x25
56 #define __X__XX_ 0x26
57 #define __X__XXX 0x27
58 #define __X_X___ 0x28
59 #define __X_X__X 0x29
60 #define __X_X_X_ 0x2A
61 #define __X_X_XX 0x2B
62 #define __X_XX__ 0x2C
63 #define __X_XX_X 0x2D
64 #define __X_XXX_ 0x2E
65 #define __X_XXXX 0x2F
66 #define __XX____ 0x30
67 #define __XX___X 0x31
68 #define __XX__X_ 0x32
69 #define __XX__XX 0x33
70 #define __XX_X__ 0x34
71 #define __XX_X_X 0x35
72 #define __XX_XX_ 0x36
73 #define __XX_XXX 0x37
74 #define __XXX___ 0x38
75 #define __XXX__X 0x39
76 #define __XXX_X_ 0x3A
77 #define __XXX_XX 0x3B
78 #define __XXXX__ 0x3C
79 #define __XXXX_X 0x3D
80 #define __XXXXX_ 0x3E
81 #define __XXXXXX 0x3F
82 #define _X______ 0x40
83 #define _X_____X 0x41
84 #define _X____X_ 0x42
85 #define _X____XX 0x43
86 #define _X___X__ 0x44
87 #define _X___X_X 0x45
88 #define _X___XX_ 0x46
89 #define _X___XXX 0x47
90 #define _X__X___ 0x48
91 #define _X__X__X 0x49
92 #define _X__X_X_ 0x4A
93 #define _X__X_XX 0x4B
94 #define _X__XX__ 0x4C
95 #define _X__XX_X 0x4D
96 #define _X__XXX_ 0x4E
97 #define _X__XXXX 0x4F
98 #define _X_X____ 0x50
99 #define _X_X___X 0x51
100 #define _X_X__X_ 0x52
101 #define _X_X__XX 0x53
102 #define _X_X_X__ 0x54
103 #define _X_X_X_X 0x55
104 #define _X_X_XX_ 0x56
105 #define _X_X_XXX 0x57
106 #define _X_XX___ 0x58
107 #define _X_XX__X 0x59
108 #define _X_XX_X_ 0x5A
109 #define _X_XX_XX 0x5B
110 #define _X_XXX__ 0x5C
111 #define _X_XXX_X 0x5D
112 #define _X_XXXX_ 0x5E
113 #define _X_XXXXX 0x5F
114 #define _XX_____ 0x60
115 #define _XX____X 0x61
116 #define _XX___X_ 0x62
117 #define _XX___XX 0x63
118 #define _XX__X__ 0x64
119 #define _XX__X_X 0x65
120 #define _XX__XX_ 0x66
121 #define _XX__XXX 0x67
122 #define _XX_X___ 0x68
123 #define _XX_X__X 0x69
124 #define _XX_X_X_ 0x6A
125 #define _XX_X_XX 0x6B
126 #define _XX_XX__ 0x6C
127 #define _XX_XX_X 0x6D
128 #define _XX_XXX_ 0x6E
129 #define _XX_XXXX 0x6F
130 #define _XXX____ 0x70
131 #define _XXX___X 0x71
132 #define _XXX__X_ 0x72
133 #define _XXX__XX 0x73
134 #define _XXX_X__ 0x74
135 #define _XXX_X_X 0x75
136 #define _XXX_XX_ 0x76
137 #define _XXX_XXX 0x77
138 #define _XXXX___ 0x78
139 #define _XXXX__X 0x79
140 #define _XXXX_X_ 0x7A
141 #define _XXXX_XX 0x7B
142 #define _XXXXX__ 0x7C
143 #define _XXXXX_X 0x7D
144 #define _XXXXXX_ 0x7E
145 #define _XXXXXXX 0x7F
146 #define X_______ 0x80
147 #define X______X 0x81
148 #define X_____X_ 0x82
149 #define X_____XX 0x83
150 #define X____X__ 0x84
151 #define X____X_X 0x85
152 #define X____XX_ 0x86
153 #define X____XXX 0x87
154 #define X___X___ 0x88
155 #define X___X__X 0x89
156 #define X___X_X_ 0x8A
157 #define X___X_XX 0x8B
158 #define X___XX__ 0x8C
159 #define X___XX_X 0x8D
160 #define X___XXX_ 0x8E
161 #define X___XXXX 0x8F
162 #define X__X____ 0x90
163 #define X__X___X 0x91
164 #define X__X__X_ 0x92
165 #define X__X__XX 0x93
166 #define X__X_X__ 0x94
167 #define X__X_X_X 0x95
168 #define X__X_XX_ 0x96
169 #define X__X_XXX 0x97
170 #define X__XX___ 0x98
171 #define X__XX__X 0x99
172 #define X__XX_X_ 0x9A
173 #define X__XX_XX 0x9B
174 #define X__XXX__ 0x9C
175 #define X__XXX_X 0x9D
176 #define X__XXXX_ 0x9E
177 #define X__XXXXX 0x9F
178 #define X_X_____ 0xA0
179 #define X_X____X 0xA1
180 #define X_X___X_ 0xA2
181 #define X_X___XX 0xA3
182 #define X_X__X__ 0xA4
183 #define X_X__X_X 0xA5
184 #define X_X__XX_ 0xA6
185 #define X_X__XXX 0xA7
186 #define X_X_X___ 0xA8
187 #define X_X_X__X 0xA9
188 #define X_X_X_X_ 0xAA
189 #define X_X_X_XX 0xAB
190 #define X_X_XX__ 0xAC
191 #define X_X_XX_X 0xAD
192 #define X_X_XXX_ 0xAE
193 #define X_X_XXXX 0xAF
194 #define X_XX____ 0xB0
195 #define X_XX___X 0xB1
196 #define X_XX__X_ 0xB2
197 #define X_XX__XX 0xB3
198 #define X_XX_X__ 0xB4
199 #define X_XX_X_X 0xB5
200 #define X_XX_XX_ 0xB6
201 #define X_XX_XXX 0xB7
202 #define X_XXX___ 0xB8
203 #define X_XXX__X 0xB9
204 #define X_XXX_X_ 0xBA
205 #define X_XXX_XX 0xBB
206 #define X_XXXX__ 0xBC
207 #define X_XXXX_X 0xBD
208 #define X_XXXXX_ 0xBE
209 #define X_XXXXXX 0xBF
210 #define XX______ 0xC0
211 #define XX_____X 0xC1
212 #define XX____X_ 0xC2
213 #define XX____XX 0xC3
214 #define XX___X__ 0xC4
215 #define XX___X_X 0xC5
216 #define XX___XX_ 0xC6
217 #define XX___XXX 0xC7
218 #define XX__X___ 0xC8
219 #define XX__X__X 0xC9
220 #define XX__X_X_ 0xCA
221 #define XX__X_XX 0xCB
222 #define XX__XX__ 0xCC
223 #define XX__XX_X 0xCD
224 #define XX__XXX_ 0xCE
225 #define XX__XXXX 0xCF
226 #define XX_X____ 0xD0
227 #define XX_X___X 0xD1
228 #define XX_X__X_ 0xD2
229 #define XX_X__XX 0xD3
230 #define XX_X_X__ 0xD4
231 #define XX_X_X_X 0xD5
232 #define XX_X_XX_ 0xD6
233 #define XX_X_XXX 0xD7
234 #define XX_XX___ 0xD8
235 #define XX_XX__X 0xD9
236 #define XX_XX_X_ 0xDA
237 #define XX_XX_XX 0xDB
238 #define XX_XXX__ 0xDC
239 #define XX_XXX_X 0xDD
240 #define XX_XXXX_ 0xDE
241 #define XX_XXXXX 0xDF
242 #define XXX_____ 0xE0
243 #define XXX____X 0xE1
244 #define XXX___X_ 0xE2
245 #define XXX___XX 0xE3
246 #define XXX__X__ 0xE4
247 #define XXX__X_X 0xE5
248 #define XXX__XX_ 0xE6
249 #define XXX__XXX 0xE7
250 #define XXX_X___ 0xE8
251 #define XXX_X__X 0xE9
252 #define XXX_X_X_ 0xEA
253 #define XXX_X_XX 0xEB
254 #define XXX_XX__ 0xEC
255 #define XXX_XX_X 0xED
256 #define XXX_XXX_ 0xEE
257 #define XXX_XXXX 0xEF
258 #define XXXX____ 0xF0
259 #define XXXX___X 0xF1
260 #define XXXX__X_ 0xF2
261 #define XXXX__XX 0xF3
262 #define XXXX_X__ 0xF4
263 #define XXXX_X_X 0xF5
264 #define XXXX_XX_ 0xF6
265 #define XXXX_XXX 0xF7
266 #define XXXXX___ 0xF8
267 #define XXXXX__X 0xF9
268 #define XXXXX_X_ 0xFA
269 #define XXXXX_XX 0xFB
270 #define XXXXXX__ 0xFC
271 #define XXXXXX_X 0xFD
272 #define XXXXXXX_ 0xFE
273 #define XXXXXXXX 0xFF
274 
struct NDPluginOverlayTextFontBitmapStruct NDPluginOverlayTextFontBitmapType
NDPluginOverlayTextFontBitmapType NDPluginOverlayTextFontBitmaps[]
Definition: NDPluginOverlayTextFont.cpp:12266
const int NDPluginOverlayTextFontBitmapTypeN
Definition: NDPluginOverlayTextFont.cpp:12273
Definition: NDPluginOverlayTextFont.h:8
unsigned char width
max. character width
Definition: NDPluginOverlayTextFont.h:9
const unsigned char * bitmap
bitmap of all characters
Definition: NDPluginOverlayTextFont.h:11
unsigned char height
character height
Definition: NDPluginOverlayTextFont.h:10