Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gskcairorenderer.h
Go to the documentation of this file.
1/*
2 * Copyright © 2016 Endless
3 * 2018 Benjamin Otte
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Authors: Benjamin Otte <otte@gnome.org>
19 */
20
21#pragma once
22
23#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
24#error "Only <gsk/gsk.h> can be included directly."
25#endif
26
27#include <cairo.h>
28#include <gsk/gskrenderer.h>
29
31
32#define GSK_TYPE_CAIRO_RENDERER (gsk_cairo_renderer_get_type ())
33
34#define GSK_CAIRO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_CAIRO_RENDERER, GskCairoRenderer))
35#define GSK_IS_CAIRO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_CAIRO_RENDERER))
36#define GSK_CAIRO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_CAIRO_RENDERER, GskCairoRendererClass))
37#define GSK_IS_CAIRO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_CAIRO_RENDERER))
38#define GSK_CAIRO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_CAIRO_RENDERER, GskCairoRendererClass))
39
40/**
41 * GskCairoRenderer:
42 *
43 * A GSK renderer that is using cairo.
44 *
45 * Since it is using cairo, this renderer cannot support
46 * 3D transformations.
47 */
48typedef struct _GskCairoRenderer GskCairoRenderer;
49typedef struct _GskCairoRendererClass GskCairoRendererClass;
50
53
56
58
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
struct _GskCairoRenderer GskCairoRenderer
GDK_AVAILABLE_IN_ALL GskRenderer * gsk_cairo_renderer_new(void)
GDK_AVAILABLE_IN_ALL GType gsk_cairo_renderer_get_type(void) G_GNUC_CONST
struct _GskCairoRendererClass GskCairoRendererClass
struct _GskRenderer GskRenderer
Definition gsktypes.h:32
gsize GType
Definition gtype.h:427