Lines Matching defs:pixbuf
56 ARG_PIXBUF, g_param_spec_pointer ("pixbuf", "pixbuf", "Pixbuf", (GParamFlags) G_PARAM_READWRITE));
78 GdkPixbuf * pixbuf = NULL;
111 pixbuf = (GdkPixbuf*) g_value_get_pointer(value);
112 // A pixbuf defines it's own size, don't mess about with size.
113 ctrl->width = gdk_pixbuf_get_width(pixbuf) / 2.0;
114 ctrl->height = gdk_pixbuf_get_height(pixbuf) / 2.0;
115 if (gdk_pixbuf_get_has_alpha(pixbuf)) {
116 ctrl->pixbuf = pixbuf;
118 ctrl->pixbuf = gdk_pixbuf_add_alpha(pixbuf, FALSE, 0, 0, 0);
119 g_object_unref(pixbuf);
171 g_value_set_pointer(value, ctrl->pixbuf);
198 ctrl->pixbuf = NULL;
432 if (ctrl->pixbuf) {
435 px = gdk_pixbuf_get_pixels (ctrl->pixbuf);
436 rs = gdk_pixbuf_get_rowstride (ctrl->pixbuf);
460 if (ctrl->pixbuf) {
461 guint r = gdk_pixbuf_get_rowstride (ctrl->pixbuf);
463 guchar *data = gdk_pixbuf_get_pixels (ctrl->pixbuf);