Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdk-pixbuf-core.h
Go to the documentation of this file.
1/* GdkPixbuf library - GdkPixbuf data structure
2 *
3 * Copyright (C) 2003 The Free Software Foundation
4 *
5 * Authors: Mark Crichton <crichton@gimp.org>
6 * Miguel de Icaza <miguel@gnu.org>
7 * Federico Mena-Quintero <federico@gimp.org>
8 * Havoc Pennington <hp@redhat.com>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
22 */
23
24#ifndef GDK_PIXBUF_CORE_H
25#define GDK_PIXBUF_CORE_H
26
27#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
28#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
29#endif
30
31#include <glib.h>
32#include <glib-object.h>
33#include <gio/gio.h>
34
36
38
39/**
40 * GdkPixbufAlphaMode:
41 * @GDK_PIXBUF_ALPHA_BILEVEL: A bilevel clipping mask (black and white)
42 * will be created and used to draw the image. Pixels below 0.5 opacity
43 * will be considered fully transparent, and all others will be
44 * considered fully opaque.
45 * @GDK_PIXBUF_ALPHA_FULL: For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL.
46 * In the future it will do full alpha compositing.
47 *
48 * Control the alpha channel for drawables.
49 *
50 * These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha()
51 * in gdk-pixbuf-xlib to control how the alpha channel of an image should
52 * be handled.
53 *
54 * This function can create a bilevel clipping mask (black and white) and use
55 * it while painting the image.
56 *
57 * In the future, when the X Window System gets an alpha channel extension,
58 * it will be possible to do full alpha compositing onto arbitrary drawables.
59 * For now both cases fall back to a bilevel clipping mask.
60 *
61 * Deprecated: 2.42: There is no user of GdkPixbufAlphaMode in GdkPixbuf,
62 * and the Xlib utility functions have been split out to their own
63 * library, gdk-pixbuf-xlib
64 */
70
71/**
72 * GdkColorspace:
73 * @GDK_COLORSPACE_RGB: Indicates a red/green/blue additive color space.
74 *
75 * This enumeration defines the color spaces that are supported by
76 * the gdk-pixbuf library.
77 *
78 * Currently only RGB is supported.
79 */
80/* Note that these values are encoded in inline pixbufs
81 * as ints, so don't reorder them
82 */
86
87/* All of these are opaque structures */
88
89typedef struct _GdkPixbuf GdkPixbuf;
90
91#define GDK_TYPE_PIXBUF (gdk_pixbuf_get_type ())
92#define GDK_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF, GdkPixbuf))
93#define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))
94
95
96/**
97 * GdkPixbufDestroyNotify:
98 * @pixels: (array) (element-type guint8): The pixel array of the pixbuf
99 * that is being finalized.
100 * @data: (closure): User closure data.
101 *
102 * A function of this type is responsible for freeing the pixel array
103 * of a pixbuf.
104 *
105 * The gdk_pixbuf_new_from_data() function lets you pass in a pre-allocated
106 * pixel array so that a pixbuf can be created from it; in this case you
107 * will need to pass in a function of type `GdkPixbufDestroyNotify` so that
108 * the pixel data can be freed when the pixbuf is finalized.
109 */
110typedef void (* GdkPixbufDestroyNotify) (guchar *pixels, gpointer data);
111
112/**
113 * GDK_PIXBUF_ERROR:
114 *
115 * Error domain used for pixbuf operations.
116 *
117 * Indicates that the error code will be in the `GdkPixbufError` enumeration.
118 *
119 * See the `GError` for information on error domains and error codes.
120 */
121#define GDK_PIXBUF_ERROR gdk_pixbuf_error_quark ()
122
123/**
124 * GdkPixbufError:
125 * @GDK_PIXBUF_ERROR_CORRUPT_IMAGE: An image file was broken somehow.
126 * @GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY: Not enough memory.
127 * @GDK_PIXBUF_ERROR_BAD_OPTION: A bad option was passed to a pixbuf save module.
128 * @GDK_PIXBUF_ERROR_UNKNOWN_TYPE: Unknown image type.
129 * @GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION: Don't know how to perform the
130 * given operation on the type of image at hand.
131 * @GDK_PIXBUF_ERROR_FAILED: Generic failure code, something went wrong.
132 * @GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION: Only part of the animation was loaded.
133 *
134 * An error code in the `GDK_PIXBUF_ERROR` domain.
135 *
136 * Many gdk-pixbuf operations can cause errors in this domain, or in
137 * the `G_FILE_ERROR` domain.
138 */
139typedef enum {
140 /* image data hosed */
142 /* no mem to load image */
144 /* bad option passed to save routine */
146 /* unsupported image type (sort of an ENOSYS) */
148 /* unsupported operation (load, save) for image type */
153
156
157
158
161
162/* Reference counting */
163
164#ifndef GDK_PIXBUF_DISABLE_DEPRECATED
169#endif
170
171/* GdkPixbuf accessors */
172
184int gdk_pixbuf_get_width (const GdkPixbuf *pixbuf);
191
194 guint *length);
195
200
201
202
203/* Create a blank pixbuf with an optimal rowstride and a new buffer */
204
206GdkPixbuf *gdk_pixbuf_new (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample,
207 int width, int height);
208
211 gboolean has_alpha,
212 int bits_per_sample,
213 int width,
214 int height);
215
216/* Copy a pixbuf */
219
220/* Create a pixbuf which points to the pixels of another pixbuf */
223 int src_x,
224 int src_y,
225 int width,
226 int height);
227
228/* Simple loading */
229
230#ifdef G_OS_WIN32
231/* In previous versions these _utf8 variants where exported and linked to
232 * by default. Export them here for ABI (and gi API) compat.
233 */
234
236GdkPixbuf *gdk_pixbuf_new_from_file_utf8 (const char *filename,
237 GError **error);
239GdkPixbuf *gdk_pixbuf_new_from_file_at_size_utf8 (const char *filename,
240 int width,
241 int height,
242 GError **error);
244GdkPixbuf *gdk_pixbuf_new_from_file_at_scale_utf8 (const char *filename,
245 int width,
246 int height,
247 gboolean preserve_aspect_ratio,
248 GError **error);
249#endif
250
252GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename,
253 GError **error);
256 int width,
257 int height,
258 GError **error);
261 int width,
262 int height,
263 gboolean preserve_aspect_ratio,
264 GError **error);
266GdkPixbuf *gdk_pixbuf_new_from_resource (const char *resource_path,
267 GError **error);
270 int width,
271 int height,
272 gboolean preserve_aspect_ratio,
273 GError **error);
274
277 GdkColorspace colorspace,
278 gboolean has_alpha,
279 int bits_per_sample,
280 int width, int height,
281 int rowstride,
282 GdkPixbufDestroyNotify destroy_fn,
283 gpointer destroy_fn_data);
284
287 GdkColorspace colorspace,
288 gboolean has_alpha,
289 int bits_per_sample,
290 int width, int height,
291 int rowstride);
292
295
296#ifndef GDK_PIXBUF_DISABLE_DEPRECATED
299 const guint8 *data,
300 gboolean copy_pixels,
301 GError **error);
302#endif
303
304/* Mutations */
307 guint32 pixel);
308
309/* Saving */
310
311#ifndef __GTK_DOC_IGNORE__
312#ifdef G_OS_WIN32
313/* DLL ABI stability hack. */
314#define gdk_pixbuf_save gdk_pixbuf_save_utf8
315#endif
316#endif
317
320 const char *filename,
321 const char *type,
322 GError **error,
324
327 const char *filename,
328 const char *type,
329 char **option_keys,
330 char **option_values,
331 GError **error);
332
333#ifdef G_OS_WIN32
335gboolean gdk_pixbuf_savev_utf8 (GdkPixbuf *pixbuf,
336 const char *filename,
337 const char *type,
338 char **option_keys,
339 char **option_values,
340 GError **error);
341#endif
342
343/* Saving to a callback function */
344
345
346/**
347 * GdkPixbufSaveFunc:
348 * @buf: (array length=count) (element-type guint8): bytes to be written.
349 * @count: number of bytes in @buf.
350 * @error: (out): A location to return an error.
351 * @data: (closure): user data passed to gdk_pixbuf_save_to_callback().
352 *
353 * Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback].
354 *
355 * This function is called once for each block of bytes that is "written"
356 * by `gdk_pixbuf_save_to_callback()`.
357 *
358 * If successful it should return `TRUE`; if an error occurs it should set
359 * `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()`
360 * will fail with the same error.
361 *
362 * Returns: `TRUE` if successful, `FALSE` otherwise
363 *
364 * Since: 2.4
365 */
366
367typedef gboolean (*GdkPixbufSaveFunc) (const gchar *buf,
368 gsize count,
369 GError **error,
370 gpointer data);
371
374 GdkPixbufSaveFunc save_func,
375 gpointer user_data,
376 const char *type,
377 GError **error,
379
382 GdkPixbufSaveFunc save_func,
383 gpointer user_data,
384 const char *type,
385 char **option_keys,
386 char **option_values,
387 GError **error);
388
389/* Saving into a newly allocated char array */
390
393 gchar **buffer,
394 gsize *buffer_size,
395 const char *type,
396 GError **error,
398
401 gchar **buffer,
402 gsize *buffer_size,
403 const char *type,
404 char **option_keys,
405 char **option_values,
406 GError **error);
407
410 GCancellable *cancellable,
411 GError **error);
412
415 GCancellable *cancellable,
416 GAsyncReadyCallback callback,
417 gpointer user_data);
418
421 GError **error);
422
425 gint width,
426 gint height,
427 gboolean preserve_aspect_ratio,
428 GCancellable *cancellable,
429 GError **error);
430
433 gint width,
434 gint height,
435 gboolean preserve_aspect_ratio,
436 GCancellable *cancellable,
437 GAsyncReadyCallback callback,
438 gpointer user_data);
439
442 GOutputStream *stream,
443 const char *type,
444 GCancellable *cancellable,
445 GError **error,
446 ...);
447
450 GOutputStream *stream,
451 const gchar *type,
452 GCancellable *cancellable,
453 GAsyncReadyCallback callback,
454 gpointer user_data,
455 ...);
456
459 GError **error);
460
463 GOutputStream *stream,
464 const gchar *type,
465 gchar **option_keys,
466 gchar **option_values,
467 GCancellable *cancellable,
468 GAsyncReadyCallback callback,
469 gpointer user_data);
470
473 GOutputStream *stream,
474 const char *type,
475 char **option_keys,
476 char **option_values,
477 GCancellable *cancellable,
478 GError **error);
479
480/* Adding an alpha channel */
482GdkPixbuf *gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf, gboolean substitute_color,
483 guchar r, guchar g, guchar b);
484
485/* Copy an area of a pixbuf onto another one */
487void gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
488 int src_x, int src_y,
489 int width, int height,
490 GdkPixbuf *dest_pixbuf,
491 int dest_x, int dest_y);
492
493/* Brighten/darken and optionally make it pixelated-looking */
496 GdkPixbuf *dest,
497 gfloat saturation,
498 gboolean pixelate);
499
500/* Transform an image to agree with its embedded orientation option / tag */
503
504/* key/value pairs that can be attached by the pixbuf loader */
507 const gchar *key,
508 const gchar *value);
511 const gchar *key);
514 const gchar *key);
519 GdkPixbuf *dest_pixbuf);
520
521
523
524
525#endif /* GDK_PIXBUF_CORE_H */
typedefG_BEGIN_DECLS struct _GBytes GBytes
Definition garray.h:38
GDK_PIXBUF_AVAILABLE_IN_ALL const gchar * gdk_pixbuf_get_option(GdkPixbuf *pixbuf, const gchar *key)
GDK_PIXBUF_AVAILABLE_IN_2_4 gboolean gdk_pixbuf_save_to_callbackv(GdkPixbuf *pixbuf, GdkPixbufSaveFunc save_func, gpointer user_data, const char *type, char **option_keys, char **option_values, GError **error)
GDK_PIXBUF_AVAILABLE_IN_2_36 gboolean gdk_pixbuf_copy_options(GdkPixbuf *src_pixbuf, GdkPixbuf *dest_pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_save_to_stream_finish(GAsyncResult *async_result, GError **error)
GDK_PIXBUF_AVAILABLE_IN_2_32 const guint8 * gdk_pixbuf_read_pixels(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new_subpixbuf(GdkPixbuf *src_pixbuf, int src_x, int src_y, int width, int height)
GDK_PIXBUF_AVAILABLE_IN_ALL GType gdk_pixbuf_get_type(void) G_GNUC_CONST
GDK_PIXBUF_AVAILABLE_IN_ALL int gdk_pixbuf_get_width(const GdkPixbuf *pixbuf)
gboolean(* GdkPixbufSaveFunc)(const gchar *buf, gsize count, GError **error, gpointer data)
GDK_PIXBUF_AVAILABLE_IN_2_6 GdkPixbuf * gdk_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, gboolean preserve_aspect_ratio, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_save(GdkPixbuf *pixbuf, const char *filename, const char *type, GError **error,...) G_GNUC_NULL_TERMINATED
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_save_to_stream_async(GdkPixbuf *pixbuf, GOutputStream *stream, const gchar *type, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data,...)
GDK_PIXBUF_AVAILABLE_IN_ALL GQuark gdk_pixbuf_error_quark(void)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new_from_xpm_data(const char **data)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new_from_file(const char *filename, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL guchar * gdk_pixbuf_get_pixels(const GdkPixbuf *pixbuf)
void gdk_pixbuf_unref(GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL int gdk_pixbuf_get_bits_per_sample(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_new_from_stream_at_scale_async(GInputStream *stream, gint width, gint height, gboolean preserve_aspect_ratio, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkColorspace gdk_pixbuf_get_colorspace(const GdkPixbuf *pixbuf)
GdkPixbufAlphaMode
@ GDK_PIXBUF_ALPHA_BILEVEL
@ GDK_PIXBUF_ALPHA_FULL
GDK_PIXBUF_AVAILABLE_IN_2_14 gboolean gdk_pixbuf_save_to_stream(GdkPixbuf *pixbuf, GOutputStream *stream, const char *type, GCancellable *cancellable, GError **error,...)
GDK_PIXBUF_AVAILABLE_IN_2_14 GdkPixbuf * gdk_pixbuf_new_from_stream_at_scale(GInputStream *stream, gint width, gint height, gboolean preserve_aspect_ratio, GCancellable *cancellable, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_new_from_stream_async(GInputStream *stream, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new_from_stream_finish(GAsyncResult *async_result, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)
GDK_PIXBUF_AVAILABLE_IN_2_26 gsize gdk_pixbuf_get_byte_length(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_2_4 gboolean gdk_pixbuf_save_to_callback(GdkPixbuf *pixbuf, GdkPixbufSaveFunc save_func, gpointer user_data, const char *type, GError **error,...) G_GNUC_NULL_TERMINATED
GDK_PIXBUF_AVAILABLE_IN_2_36 void gdk_pixbuf_save_to_streamv_async(GdkPixbuf *pixbuf, GOutputStream *stream, const gchar *type, gchar **option_keys, gchar **option_values, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_savev(GdkPixbuf *pixbuf, const char *filename, const char *type, char **option_keys, char **option_values, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_copy_area(const GdkPixbuf *src_pixbuf, int src_x, int src_y, int width, int height, GdkPixbuf *dest_pixbuf, int dest_x, int dest_y)
GDK_PIXBUF_AVAILABLE_IN_2_14 GdkPixbuf * gdk_pixbuf_new_from_stream(GInputStream *stream, GCancellable *cancellable, GError **error)
GdkPixbufError
@ GDK_PIXBUF_ERROR_BAD_OPTION
@ GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION
@ GDK_PIXBUF_ERROR_FAILED
@ GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION
@ GDK_PIXBUF_ERROR_UNKNOWN_TYPE
@ GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY
@ GDK_PIXBUF_ERROR_CORRUPT_IMAGE
GDK_PIXBUF_AVAILABLE_IN_2_32 GHashTable * gdk_pixbuf_get_options(GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_set_option(GdkPixbuf *pixbuf, const gchar *key, const gchar *value)
GDK_PIXBUF_AVAILABLE_IN_2_4 gboolean gdk_pixbuf_save_to_bufferv(GdkPixbuf *pixbuf, gchar **buffer, gsize *buffer_size, const char *type, char **option_keys, char **option_values, GError **error)
GDK_PIXBUF_AVAILABLE_IN_2_36 gint gdk_pixbuf_calculate_rowstride(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_saturate_and_pixelate(const GdkPixbuf *src, GdkPixbuf *dest, gfloat saturation, gboolean pixelate)
GdkColorspace
@ GDK_COLORSPACE_RGB
GdkPixbuf * gdk_pixbuf_ref(GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_2_36 gboolean gdk_pixbuf_save_to_streamv(GdkPixbuf *pixbuf, GOutputStream *stream, const char *type, char **option_keys, char **option_values, GCancellable *cancellable, GError **error)
GDK_PIXBUF_AVAILABLE_IN_2_4 GdkPixbuf * gdk_pixbuf_new_from_file_at_size(const char *filename, int width, int height, GError **error)
GDK_PIXBUF_AVAILABLE_IN_2_12 GdkPixbuf * gdk_pixbuf_apply_embedded_orientation(GdkPixbuf *src)
GDK_PIXBUF_AVAILABLE_IN_ALL int gdk_pixbuf_get_n_channels(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_new_from_data(const guchar *data, GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height, int rowstride, GdkPixbufDestroyNotify destroy_fn, gpointer destroy_fn_data)
GDK_PIXBUF_AVAILABLE_IN_2_32 GBytes * gdk_pixbuf_read_pixel_bytes(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_2_4 gboolean gdk_pixbuf_save_to_buffer(GdkPixbuf *pixbuf, gchar **buffer, gsize *buffer_size, const char *type, GError **error,...) G_GNUC_NULL_TERMINATED
GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_fill(GdkPixbuf *pixbuf, guint32 pixel)
void(* GdkPixbufDestroyNotify)(guchar *pixels, gpointer data)
GDK_PIXBUF_AVAILABLE_IN_2_36 gboolean gdk_pixbuf_remove_option(GdkPixbuf *pixbuf, const gchar *key)
GDK_PIXBUF_AVAILABLE_IN_2_26 GdkPixbuf * gdk_pixbuf_new_from_resource_at_scale(const char *resource_path, int width, int height, gboolean preserve_aspect_ratio, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL int gdk_pixbuf_get_rowstride(const GdkPixbuf *pixbuf)
GDK_PIXBUF_AVAILABLE_IN_2_26 guchar * gdk_pixbuf_get_pixels_with_length(const GdkPixbuf *pixbuf, guint *length)
GDK_PIXBUF_AVAILABLE_IN_2_32 GdkPixbuf * gdk_pixbuf_new_from_bytes(GBytes *data, GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height, int rowstride)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_add_alpha(const GdkPixbuf *pixbuf, gboolean substitute_color, guchar r, guchar g, guchar b)
GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf * gdk_pixbuf_copy(const GdkPixbuf *pixbuf)
struct _GdkPixbuf GdkPixbuf
GDK_PIXBUF_AVAILABLE_IN_2_26 GdkPixbuf * gdk_pixbuf_new_from_resource(const char *resource_path, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_get_has_alpha(const GdkPixbuf *pixbuf)
GDK_PIXBUF_DEPRECATED_IN_2_32 GdkPixbuf * gdk_pixbuf_new_from_inline(gint data_length, const guint8 *data, gboolean copy_pixels, GError **error)
GDK_PIXBUF_AVAILABLE_IN_ALL int gdk_pixbuf_get_height(const GdkPixbuf *pixbuf)
#define GDK_PIXBUF_AVAILABLE_IN_2_14
#define GDK_PIXBUF_AVAILABLE_IN_2_36
#define GDK_PIXBUF_AVAILABLE_IN_2_12
#define GDK_PIXBUF_AVAILABLE_IN_2_6
#define GDK_PIXBUF_AVAILABLE_IN_2_32
#define GDK_PIXBUF_AVAILABLE_IN_2_26
#define GDK_PIXBUF_DEPRECATED_IN_2_32
#define GDK_PIXBUF_AVAILABLE_IN_ALL
#define GDK_PIXBUF_AVAILABLE_IN_2_4
#define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f)
typedefG_BEGIN_DECLS struct _GHashTable GHashTable
Definition ghash.h:40
struct _GAsyncResult GAsyncResult
Definition giotypes.h:36
void(* GAsyncReadyCallback)(GObject *source_object, GAsyncResult *res, gpointer data)
Definition giotypes.h:190
unsigned int guint32
Definition glibconfig.h:57
unsigned char guint8
Definition glibconfig.h:46
unsigned long gsize
Definition glibconfig.h:83
#define G_END_DECLS
Definition gmacros.h:910
#define G_GNUC_NULL_TERMINATED
Definition gmacros.h:326
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
GOBJECT_AVAILABLE_IN_ALL gpointer g_object_ref(gpointer object)
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
G_BEGIN_DECLS typedef guint32 GQuark
Definition gquark.h:38
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
float gfloat
Definition gtypes.h:63
unsigned char guchar
Definition gtypes.h:58
G_BEGIN_DECLS typedef char gchar
Definition gtypes.h:52
void * gpointer
Definition gtypes.h:109
int gint
Definition gtypes.h:55
unsigned int guint
Definition gtypes.h:61
int value
Definition lsqlite3.c:2155
static void error(LoadState *S, const char *why)