lyx_mirror/src/frontends/xforms/xfont_metrics.h
Lars Gullik Bjønnes 99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00

36 lines
750 B
C++

// -*- C++ -*-
/**
* \file xfont_metrics.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#ifndef XFONT_METRICS_H
#define XFONT_METRICS_H
#include "LString.h"
#include "font_metrics.h"
#include <X11/Xlib.h>
class LyXFont;
namespace xfont_metrics {
int XTextWidth(LyXFont const & f, char const * str, int count);
///
int width(XChar2b const * s, int n, LyXFont const & f);
///
int XTextWidth16(LyXFont const & f, XChar2b const * str, int count);
///
void XSetFont(Display * display, GC gc, LyXFont const & f);
} // namespace xfont_metrics
#endif // FONT_METRICS_H