RTEMS  5.1
disp_fonts.h
1 /*===============================================================*\
2 | Project: display driver for HCMS29xx |
3 +-----------------------------------------------------------------+
4 | File: disp_fonts.h |
5 +-----------------------------------------------------------------+
6 | Copyright (c) 2008 |
7 | Embedded Brains GmbH |
8 | Obere Lagerstr. 30 |
9 | D-82178 Puchheim |
10 | Germany |
11 | rtems@embedded-brains.de |
12 +-----------------------------------------------------------------+
13 | The license and distribution terms for this file may be |
14 | found in the file LICENSE in this distribution or at |
15 | http://www.rtems.org/license/LICENSE. |
16 | |
17 +-----------------------------------------------------------------+
18 | This file declares general data structures for font management |
19 \*===============================================================*/
20 
21 #ifndef DISP_FONTS_H
22 #define DISP_FONTS_H
23 
24 #include <rtems.h>
25 
26 typedef int8_t disp_font_dimen;
27 
29 {
30  disp_font_dimen w, h, x, y;
31 };
32 
34 {
35  struct disp_font_bounding_box bb;
36  disp_font_dimen wx, wy;
37  const unsigned char *bitmap;
38 };
39 
41 {
42  int8_t trans;
43  struct disp_font_bounding_box fbb;
44  disp_font_dimen ascent, descent;
45  uint8_t default_char;
46  struct disp_font_glyph *latin1[256];
47 };
48 
49 typedef struct disp_font_base *disp_font_t;
50 
51 /* Prototypes ------------------------------------------------- */
52 
53 /* End -------------------------------------------------------- */
54 
55 #endif /* not defined DISP_FONTS_H */
Definition: disp_fonts.h:28
Definition: disp_fonts.h:33
Definition: disp_fonts.h:40