]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xfont_metrics.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / xfont_metrics.h
1 // -*- C++ -*-
2 /**
3  * \file xfont_metrics.h
4  * Read the file COPYING
5  *
6  * \author unknown
7  * \author John Levon 
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef XFONT_METRICS_H
13 #define XFONT_METRICS_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "LString.h"
20
21 #include "font_metrics.h"
22  
23 #include <X11/Xlib.h>
24  
25 class LyXFont;
26
27 namespace xfont_metrics {
28         int XTextWidth(LyXFont const & f, char const * str, int count);
29         ///
30         int width(XChar2b const * s, int n, LyXFont const & f);
31         ///
32         int XTextWidth16(LyXFont const & f, XChar2b const * str, int count);
33         ///
34         void XSetFont(Display * display, GC gc, LyXFont const & f);
35 } // namespace xfont_metrics
36  
37 #endif // FONT_METRICS_H