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
29
G_BEGIN_DECLS
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
37
GDK_AVAILABLE_IN_ALL
38
GType
gdk_cairo_context_get_type
(
void
)
G_GNUC_CONST
;
39
40
GDK_AVAILABLE_IN_ALL
41
cairo_t
*
gdk_cairo_context_cairo_create
(
GdkCairoContext
*self);
42
43
G_END_DECLS
44
cairo_t
struct _cairo cairo_t
Definition
cairo.h:135
GDK_AVAILABLE_IN_ALL
#define GDK_AVAILABLE_IN_ALL
Definition
gdk-visibility.h:22
gdk_cairo_context_cairo_create
GDK_AVAILABLE_IN_ALL cairo_t * gdk_cairo_context_cairo_create(GdkCairoContext *self)
gdk_cairo_context_get_type
GDK_AVAILABLE_IN_ALL GType gdk_cairo_context_get_type(void) G_GNUC_CONST
gdktypes.h
GdkCairoContext
struct _GdkCairoContext GdkCairoContext
Definition
gdktypes.h:97
G_END_DECLS
#define G_END_DECLS
Definition
gmacros.h:910
G_BEGIN_DECLS
#define G_BEGIN_DECLS
Definition
gmacros.h:909
G_GNUC_CONST
#define G_GNUC_CONST
Definition
gmacros.h:637
GType
gsize GType
Definition
gtype.h:427
nix
store
v9wbd5iwvxl666sf67ard7lvjamhggbk-gtk4-4.16.12-dev
include
gtk-4.0
gdk
gdkcairocontext.h
Generated by
1.10.0