Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkdrawcontext.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 *
3 * gdkdrawcontext.h: base class for rendering system support
4 *
5 * Copyright © 2016 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_DRAW_CONTEXT (gdk_draw_context_get_type ())
32#define GDK_DRAW_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_DRAW_CONTEXT, GdkDrawContext))
33#define GDK_IS_DRAW_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_DRAW_CONTEXT))
34
37
42
45 const cairo_region_t *region);
48
53
55
57
struct _cairo_region cairo_region_t
Definition cairo.h:3244
#define GDK_DEPRECATED_IN_4_16
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL GType gdk_draw_context_get_type(void) G_GNUC_CONST
GDK_DEPRECATED_IN_4_16 gboolean gdk_draw_context_is_in_frame(GdkDrawContext *context)
GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_draw_context_get_display(GdkDrawContext *context)
GDK_DEPRECATED_IN_4_16 void gdk_draw_context_end_frame(GdkDrawContext *context)
GDK_AVAILABLE_IN_ALL GdkSurface * gdk_draw_context_get_surface(GdkDrawContext *context)
GDK_DEPRECATED_IN_4_16 const cairo_region_t * gdk_draw_context_get_frame_region(GdkDrawContext *context)
GDK_DEPRECATED_IN_4_16 void gdk_draw_context_begin_frame(GdkDrawContext *context, const cairo_region_t *region)
struct _GdkDisplay GdkDisplay
Definition gdktypes.h:90
struct _GdkSurface GdkSurface
Definition gdktypes.h:91
struct _GdkDrawContext GdkDrawContext
Definition gdktypes.h:96
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56