"Fossies" - the Fresh Open Source Software Archive

Member "pango-1.44.7/pango/pango-coverage-private.h" (25 Oct 2019, 2291 Bytes) of package /linux/misc/pango-1.44.7.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "pango-coverage-private.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.44.1_vs_1.44.2.

    1 /* Pango
    2  * pango-coverage-private.h: Coverage sets for fonts
    3  *
    4  * Copyright (C) 2000 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_COVERAGE_PRIVATE_H__
   23 #define __PANGO_COVERAGE_PRIVATE_H__
   24 
   25 #include <glib-object.h>
   26 #include <pango-coverage.h>
   27 
   28 G_BEGIN_DECLS
   29 
   30 #define PANGO_TYPE_COVERAGE              (pango_coverage_get_type ())
   31 #define PANGO_COVERAGE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_COVERAGE, PangoCoverage))
   32 #define PANGO_IS_COVERAGE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_COVERAGE))
   33 #define PANGO_COVERAGE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_COVERAGE, PangoCoverageClass))
   34 #define PANGO_IS_COVERAGE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_COVERAGE))
   35 #define PANGO_COVERAGE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_COVERAGE, PangoCoverageClass))
   36 
   37 typedef struct _PangoCoverageClass   PangoCoverageClass;
   38 typedef struct _PangoCoveragePrivate PangoCoveragePrivate;
   39 
   40 struct _PangoCoverage
   41 {
   42   GObject parent_instance;
   43 
   44   hb_set_t *chars;
   45 };
   46 
   47 struct _PangoCoverageClass
   48 {
   49   GObjectClass parent_class;
   50 
   51   PangoCoverageLevel (* get)  (PangoCoverage      *coverage,
   52                                int                 index);
   53   void               (* set)  (PangoCoverage      *coverage,
   54                                int                 index,
   55                                PangoCoverageLevel  level);
   56   PangoCoverage *    (* copy) (PangoCoverage      *coverage);
   57 };
   58 
   59 G_END_DECLS
   60 
   61 #endif /* __PANGO_COVERAGE_PRIVATE_H__ */