diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 20:36:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 17:28:40 -0400 |
commit | d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd (patch) | |
tree | 8d79daeb8f4254e319fede8bcc970f80cec83a2a /pango/pangocairo-fc-private.h | |
parent | 5112387e2c5d4e298d5781070b2f0749a2f7f005 (diff) | |
download | pango-d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd.tar.gz |
Header cleanup
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
Diffstat (limited to 'pango/pangocairo-fc-private.h')
-rw-r--r-- | pango/pangocairo-fc-private.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pango/pangocairo-fc-private.h b/pango/pangocairo-fc-private.h new file mode 100644 index 00000000..fc0193e4 --- /dev/null +++ b/pango/pangocairo-fc-private.h @@ -0,0 +1,48 @@ +/* Pango + * pangocairo-fc.h: Private header file for Cairo/fontconfig combination + * + * Copyright (C) 2005 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PANGOCAIRO_FC_PRIVATE_H__ +#define __PANGOCAIRO_FC_PRIVATE_H__ + +#include <pango/pangofc-fontmap-private.h> +#include <pango/pangocairo-fc.h> + +G_BEGIN_DECLS + +struct _PangoCairoFcFontMap +{ + PangoFcFontMap parent_instance; + + guint serial; + double dpi; + + FT_Library library; +}; + + +PangoFcFont *_pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap, + PangoFcFontKey *key); +FT_Library _pango_cairo_fc_font_map_get_library (PangoCairoFcFontMap *fontmap); + +G_END_DECLS + +#endif /* __PANGOCAIRO_FC_PRIVATE_H__ */ + |