Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkcairo.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 * Copyright (C) 2005 Red Hat, Inc.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
21#error "Only <gdk/gdk.h> can be included directly."
22#endif
23
24#include <gdk/gdktypes.h>
26#include <pango/pangocairo.h>
27
29
32 const GdkRGBA *rgba);
35 const GdkPixbuf *pixbuf,
36 double pixbuf_x,
37 double pixbuf_y);
38
41 const GdkRectangle *rectangle);
44 const cairo_region_t *region);
45
49 (cairo_surface_t *surface);
50
53 GdkSurface *surface,
54 int source,
55 int source_type,
56 int buffer_scale,
57 int x,
58 int y,
59 int width,
60 int height);
61
63
struct _cairo_surface cairo_surface_t
Definition cairo.h:164
struct _cairo cairo_t
Definition cairo.h:135
struct _cairo_region cairo_region_t
Definition cairo.h:3244
struct _GdkPixbuf GdkPixbuf
#define GDK_DEPRECATED_IN_4_6_FOR(f)
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL cairo_region_t * gdk_cairo_region_create_from_surface(cairo_surface_t *surface)
GDK_AVAILABLE_IN_ALL void gdk_cairo_region(cairo_t *cr, const cairo_region_t *region)
void gdk_cairo_draw_from_gl(cairo_t *cr, GdkSurface *surface, int source, int source_type, int buffer_scale, int x, int y, int width, int height)
G_BEGIN_DECLS GDK_AVAILABLE_IN_ALL void gdk_cairo_set_source_rgba(cairo_t *cr, const GdkRGBA *rgba)
GDK_AVAILABLE_IN_ALL void gdk_cairo_rectangle(cairo_t *cr, const GdkRectangle *rectangle)
GDK_AVAILABLE_IN_ALL void gdk_cairo_set_source_pixbuf(cairo_t *cr, const GdkPixbuf *pixbuf, double pixbuf_x, double pixbuf_y)
GdkTexture * gdk_gl_texture_new(GdkGLContext *context, guint id, int width, int height, GDestroyNotify destroy, gpointer data)
struct _GdkSurface GdkSurface
Definition gdktypes.h:91
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909