Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pango-fontset-simple.h
Go to the documentation of this file.
1/* Pango
2 * pango-fontset-simple.h: Font set handling
3 *
4 * Copyright (C) 2001 Red Hat Software
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21
22#ifndef __PANGO_FONTSET_SIMPLE_H__
23#define __PANGO_FONTSET_SIMPLE_H__
24
26#include <pango/pango-types.h>
27#include <pango/pango-fontset.h>
28
29#include <glib-object.h>
30
32
33/**
34 * PangoFontsetSimple:
35 *
36 * `PangoFontsetSimple` is a implementation of the abstract
37 * `PangoFontset` base class as an array of fonts.
38 *
39 * When creating a `PangoFontsetSimple`, you have to provide
40 * the array of fonts that make up the fontset.
41 */
42#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
43#define PANGO_FONTSET_SIMPLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET_SIMPLE, PangoFontsetSimple))
44#define PANGO_IS_FONTSET_SIMPLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET_SIMPLE))
45
46typedef struct _PangoFontsetSimple PangoFontsetSimple;
47typedef struct _PangoFontsetSimpleClass PangoFontsetSimpleClass;
48
49
52
57 PangoFont *font);
60
61
63
64#endif /* __PANGO_FONTSET_SIMPLE_H__ */
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427
PANGO_AVAILABLE_IN_ALL void pango_fontset_simple_append(PangoFontsetSimple *fontset, PangoFont *font)
PANGO_AVAILABLE_IN_ALL int pango_fontset_simple_size(PangoFontsetSimple *fontset)
struct _PangoFontsetSimple PangoFontsetSimple
PANGO_AVAILABLE_IN_ALL GType pango_fontset_simple_get_type(void) G_GNUC_CONST
PANGO_AVAILABLE_IN_ALL PangoFontsetSimple * pango_fontset_simple_new(PangoLanguage *language)
struct _PangoFontsetSimpleClass PangoFontsetSimpleClass
struct _PangoLanguage PangoLanguage
Definition pango-types.h:46
#define PANGO_AVAILABLE_IN_ALL