~ml-launchpad/ubuntu/natty/gcompris/fix-for-777349

« back to all changes in this revision

Viewing changes to src/goocanvas/src/goocanvasprivate.h

  • Committer: Bazaar Package Importer
  • Author(s): Marc Gariepy, Marc Gariepy, Stephane Graber
  • Date: 2010-01-04 17:42:49 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100104174249-7bupatd9dtxyhvs4
Tags: 9.0-0ubuntu1
[Marc Gariepy]
* New upstream release (9.0).
* Remove cache.c from POTFILES to avoid FTBFS
* Remove unneeded rm in debian/rules (file no longer exists upstream)

[Stephane Graber]
* Bump Debian standards to 3.8.3
* Add patch system (dpatch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * GooCanvas. Copyright (C) 2005-6 Damon Chaplin.
 
3
 * Released under the GNU LGPL license. See COPYING for details.
 
4
 *
 
5
 * goocanvasprivate.h - private types & utility functions.
 
6
 */
 
7
#ifndef __GOO_CANVAS_PRIVATE_H__
 
8
#define __GOO_CANVAS_PRIVATE_H__
 
9
 
 
10
#include <gtk/gtk.h>
 
11
#include "goocanvasstyle.h"
 
12
 
 
13
G_BEGIN_DECLS
 
14
 
 
15
 
 
16
/*
 
17
 * GPtrArray extensions.
 
18
 */
 
19
void goo_canvas_util_ptr_array_insert     (GPtrArray *ptr_array,
 
20
                                           gpointer   data,
 
21
                                           gint       index);
 
22
 
 
23
void goo_canvas_util_ptr_array_move       (GPtrArray *ptr_array,
 
24
                                           gint       old_index,
 
25
                                           gint       new_index);
 
26
 
 
27
gint goo_canvas_util_ptr_array_find_index (GPtrArray *ptr_array,
 
28
                                           gpointer   data);
 
29
 
 
30
 
 
31
cairo_pattern_t* goo_canvas_cairo_pattern_from_pixbuf (GdkPixbuf *pixbuf);
 
32
cairo_surface_t* goo_canvas_cairo_surface_from_pixbuf (GdkPixbuf *pixbuf);
 
33
 
 
34
guint goo_canvas_convert_colors_to_rgba (double red,
 
35
                                         double green,
 
36
                                         double blue,
 
37
                                         double alpha);
 
38
 
 
39
void goo_canvas_get_rgba_value_from_pattern (cairo_pattern_t *pattern,
 
40
                                             GValue          *value);
 
41
 
 
42
void goo_canvas_set_style_property_from_pattern (GooCanvasStyle  *style,
 
43
                                                 GQuark           property_id,
 
44
                                                 cairo_pattern_t *pattern);
 
45
 
 
46
cairo_pattern_t* goo_canvas_create_pattern_from_color_value  (const GValue *value);
 
47
cairo_pattern_t* goo_canvas_create_pattern_from_rgba_value   (const GValue *value);
 
48
cairo_pattern_t* goo_canvas_create_pattern_from_pixbuf_value (const GValue *value);
 
49
 
 
50
 
 
51
gboolean goo_canvas_boolean_handled_accumulator (GSignalInvocationHint *ihint,
 
52
                                                 GValue                *return_accu,
 
53
                                                 const GValue          *handler_return,
 
54
                                                 gpointer               dummy);
 
55
 
 
56
 
 
57
G_END_DECLS
 
58
 
 
59
#endif /* __GOO_CANVAS_PRIVATE_H__ */