forked from AuroraMiddleware/gtk
Add a boxed type for cairo_pattern_t.
This commit is contained in:
parent
621a95f515
commit
02a30118c6
@ -25,6 +25,8 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
G_DEFINE_BOXED_TYPE (cairo_pattern_t, gdk_cairo_pattern, cairo_pattern_reference, cairo_pattern_destroy)
|
||||
|
||||
/**
|
||||
* SECTION:cairo_interaction
|
||||
* @Short_description: Functions to support using Cairo
|
||||
|
@ -32,6 +32,9 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
cairo_t *gdk_cairo_create (GdkWindow *window);
|
||||
#define GDK_TYPE_CAIRO_PATTERN (gdk_cairo_pattern_get_type ())
|
||||
|
||||
GType gdk_cairo_pattern_get_type (void) G_GNUC_CONST;
|
||||
gboolean gdk_cairo_get_clip_rectangle(cairo_t *cr,
|
||||
GdkRectangle *rect);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user