summaryrefslogtreecommitdiff
path: root/pango2/pangocairo-font.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango2/pangocairo-font.h')
-rw-r--r--pango2/pangocairo-font.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/pango2/pangocairo-font.h b/pango2/pangocairo-font.h
new file mode 100644
index 00000000..9c57318d
--- /dev/null
+++ b/pango2/pangocairo-font.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 1999, 2004 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <pango2/pango.h>
+#include <cairo.h>
+
+G_BEGIN_DECLS
+
+PANGO2_AVAILABLE_IN_ALL
+void pango2_cairo_font_set_font_options (Pango2Font *font,
+ const cairo_font_options_t *options);
+PANGO2_AVAILABLE_IN_ALL
+const cairo_font_options_t *
+ pango2_cairo_font_get_font_options (Pango2Font *font);
+
+G_END_DECLS