00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef _GDKMM_GL_FONT_H
00021
#define _GDKMM_GL_FONT_H
00022
00023
#include <glibmm.h>
00024
00025
#include <gdkmm/gl/defs.h>
00026
00027
#ifdef GDKGLEXTMM_MULTIHEAD_SUPPORT
00028
#include <gdkmm/display.h>
00029
#endif // GDKGLEXTMM_MULTIHEAD_SUPPORT
00030
00031
#include <pangomm/font.h>
00032
00033
namespace Gdk
00034 {
00035
namespace GL
00036 {
00037
00043 class Font
00044 {
00045
public:
00046
virtual ~Font() = 0;
00047
00048
public:
00049
00058
static Glib::RefPtr<Pango::Font>
use_pango_font(
const Pango::FontDescription& desc,
00059
int first,
00060
int count,
00061
int list_base);
00062
00063
#ifdef GDKGLEXTMM_MULTIHEAD_SUPPORT
00064
static Glib::RefPtr<Pango::Font> use_pango_font(
const Glib::RefPtr<const Gdk::Display>& display,
00065
const Pango::FontDescription& desc,
00066
int first,
00067
int count,
00068
int list_base);
00069
#endif // GDKGLEXTMM_MULTIHEAD_SUPPORT
00070
00071 };
00072
00079 }
00080 }
00081
00082
#endif // _GDKMM_GL_FONT_H