Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-18 10:28:15

0001 /* Pango
0002  * pango-fontset-simple.h: Font set handling
0003  *
0004  * Copyright (C) 2001 Red Hat Software
0005  *
0006  * This library is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU Library General Public
0008  * License as published by the Free Software Foundation; either
0009  * version 2 of the License, or (at your option) any later version.
0010  *
0011  * This library is distributed in the hope that it will be useful,
0012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0014  * Library General Public License for more details.
0015  *
0016  * You should have received a copy of the GNU Library General Public
0017  * License along with this library; if not, write to the
0018  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0019  * Boston, MA 02111-1307, USA.
0020  */
0021 
0022 #ifndef __PANGO_FONTSET_SIMPLE_H__
0023 #define __PANGO_FONTSET_SIMPLE_H__
0024 
0025 #include <pango/pango-coverage.h>
0026 #include <pango/pango-types.h>
0027 #include <pango/pango-fontset.h>
0028 
0029 #include <glib-object.h>
0030 
0031 G_BEGIN_DECLS
0032 
0033 /**
0034  * PangoFontsetSimple:
0035  *
0036  * `PangoFontsetSimple` is a implementation of the abstract
0037  * `PangoFontset` base class as an array of fonts.
0038  *
0039  * When creating a `PangoFontsetSimple`, you have to provide
0040  * the array of fonts that make up the fontset.
0041  */
0042 #define PANGO_TYPE_FONTSET_SIMPLE       (pango_fontset_simple_get_type ())
0043 #define PANGO_FONTSET_SIMPLE(object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET_SIMPLE, PangoFontsetSimple))
0044 #define PANGO_IS_FONTSET_SIMPLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET_SIMPLE))
0045 
0046 typedef struct _PangoFontsetSimple  PangoFontsetSimple;
0047 typedef struct _PangoFontsetSimpleClass  PangoFontsetSimpleClass;
0048 
0049 
0050 PANGO_AVAILABLE_IN_ALL
0051 GType                   pango_fontset_simple_get_type (void) G_GNUC_CONST;
0052 
0053 PANGO_AVAILABLE_IN_ALL
0054 PangoFontsetSimple *    pango_fontset_simple_new    (PangoLanguage      *language);
0055 PANGO_AVAILABLE_IN_ALL
0056 void                    pango_fontset_simple_append (PangoFontsetSimple *fontset,
0057                                                      PangoFont          *font);
0058 PANGO_AVAILABLE_IN_ALL
0059 int                     pango_fontset_simple_size   (PangoFontsetSimple *fontset);
0060 
0061 
0062 G_END_DECLS
0063 
0064 #endif /* __PANGO_FONTSET_SIMPLE_H__ */