summaryrefslogtreecommitdiff
path: root/gsk/gskcairorenderer.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-05-01 23:58:57 +0200
committerBenjamin Otte <otte@redhat.com>2019-05-05 07:18:39 +0200
commit559ae8b32662a90ab62f0e44b06983cbed20188a (patch)
tree458f4378f7cce5ff6ee66bdd26e6d12f87f69319 /gsk/gskcairorenderer.h
parentda5b99f80741f680e80e54451cc5e58c5054838b (diff)
downloadgtk+-559ae8b32662a90ab62f0e44b06983cbed20188a.tar.gz
gsk: Export Cairo renderer
Diffstat (limited to 'gsk/gskcairorenderer.h')
-rw-r--r--gsk/gskcairorenderer.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/gsk/gskcairorenderer.h b/gsk/gskcairorenderer.h
new file mode 100644
index 0000000000..047bd69555
--- /dev/null
+++ b/gsk/gskcairorenderer.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright © 2016 Endless
+ * 2018 Benjamin Otte
+ *
+ * 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/>.
+ *
+ * Authors: Benjamin Otte <otte@gnome.org>
+ */
+
+#ifndef __GSK_CAIRO_RENDERER_H__
+#define __GSK_CAIRO_RENDERER_H__
+
+#include <cairo.h>
+#include <gsk/gskrenderer.h>
+
+G_BEGIN_DECLS
+
+#define GSK_TYPE_CAIRO_RENDERER (gsk_cairo_renderer_get_type ())
+
+#define GSK_CAIRO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_CAIRO_RENDERER, GskCairoRenderer))
+#define GSK_IS_CAIRO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_CAIRO_RENDERER))
+#define GSK_CAIRO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_CAIRO_RENDERER, GskCairoRendererClass))
+#define GSK_IS_CAIRO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_CAIRO_RENDERER))
+#define GSK_CAIRO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_CAIRO_RENDERER, GskCairoRendererClass))
+
+typedef struct _GskCairoRenderer GskCairoRenderer;
+typedef struct _GskCairoRendererClass GskCairoRendererClass;
+
+GDK_AVAILABLE_IN_ALL
+GType gsk_cairo_renderer_get_type (void) G_GNUC_CONST;
+
+GDK_AVAILABLE_IN_ALL
+GskRenderer * gsk_cairo_renderer_new (void);
+
+G_END_DECLS
+
+#endif /* __GSK_CAIRO_RENDERER_H__ */