4
* An OpenGL based 'interactive canvas' library.
6
* Authored By Matthew Allum <mallum@openedhand.com>
8
* Copyright (C) 2008 OpenedHand
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
24
#ifndef __COGL_PANGO_GLYPH_CACHE_H__
25
#define __COGL_PANGO_GLYPH_CACHE_H__
28
#include <cogl/cogl.h>
29
#include <pango/pango-font.h>
33
typedef struct _CoglPangoGlyphCache CoglPangoGlyphCache;
34
typedef struct _CoglPangoGlyphCacheValue CoglPangoGlyphCacheValue;
36
struct _CoglPangoGlyphCacheValue
52
cogl_pango_glyph_cache_new (void);
55
cogl_pango_glyph_cache_free (CoglPangoGlyphCache *cache);
57
CoglPangoGlyphCacheValue *
58
cogl_pango_glyph_cache_lookup (CoglPangoGlyphCache *cache,
62
CoglPangoGlyphCacheValue *
63
cogl_pango_glyph_cache_set (CoglPangoGlyphCache *cache,
74
cogl_pango_glyph_cache_clear (CoglPangoGlyphCache *cache);
78
#endif /* __COGL_PANGO_GLYPH_CACHE_H__ */