Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkcairocontext.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 *
3 * gdkcairocontext.h: specific Cairo wrappers
4 *
5 * Copyright © 2018 Benjamin Otte
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
24#error "Only <gdk/gdk.h> can be included directly."
25#endif
26
27#include <gdk/gdktypes.h>
28
30
31#define GDK_TYPE_CAIRO_CONTEXT (gdk_cairo_context_get_type ())
32#define GDK_CAIRO_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_CAIRO_CONTEXT, GdkCairoContext))
33#define GDK_IS_CAIRO_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_CAIRO_CONTEXT))
34
35#define GDK_CAIRO_ERROR (gdk_cairo_error_quark ())
36
39
42
44
struct _cairo cairo_t
Definition cairo.h:135
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL cairo_t * gdk_cairo_context_cairo_create(GdkCairoContext *self)
GDK_AVAILABLE_IN_ALL GType gdk_cairo_context_get_type(void) G_GNUC_CONST
struct _GdkCairoContext GdkCairoContext
Definition gdktypes.h:97
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427