]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/dope/server/include/fontconv.h
Inital import
[l4.git] / l4 / pkg / dope / server / include / fontconv.h
1 /*
2  * \brief   Interface of DOpE font conversion module
3  * \date    2002-11-13
4  * \author  Norman Feske <nf2@inf.tu-dresden.de>
5  */
6
7 /*
8  * Copyright (C) 2002-2004  Norman Feske  <nf2@os.inf.tu-dresden.de>
9  * Technische Universitaet Dresden, Operating Systems Research Group
10  *
11  * This file is part of the DOpE package, which is distributed under
12  * the  terms  of the  GNU General Public Licence 2.  Please see the
13  * COPYING file for details.
14  */
15
16 #ifndef _DOPE_FONTCONV_H_
17 #define _DOPE_FONTCONV_H_
18
19 struct fontconv_services {
20         s16  (*probe)               (void *fontadr);
21         void (*gen_width_table)     (void *fontadr,s32 *dst_wtab);
22         void (*gen_offset_table)    (void *fontadr,s32 *dst_otab);
23         u8  *(*get_name)            (void *fontadr);
24         u16  (*get_top)             (void *fontadr);
25         u16  (*get_bottom)          (void *fontadr);
26         u32  (*get_image_width)     (void *fontadr);
27         u32  (*get_image_height)    (void *fontadr);
28         void (*gen_image)           (void *fontadr,u8 *dst_img);
29 };
30
31
32 #endif /* _DOPE_FONTCONV_H_ */
33