Commit f064e5b8 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Arturo Espinosa

Start of the pixbuf canvas item. Drawing affines seem to work. Bounding

1999-11-01  Federico Mena Quintero  <federico@redhat.com>

	* src/gnome-canvas-pixbuf.c: Start of the pixbuf canvas item.
	Drawing affines seem to work.  Bounding box is fubared.  ::point()
	is not implemented.  This is a work in progress.

	* src/Makefile.am: Added gnome-canvas-pixbuf.[ch] to the list of
	sources.

	* configure.in: Sigh.  We need to link in libgnomeui for the
	canvas stuff.  This mess will disappear when gdk-pixbuf gets
	folded into gnome-libs.
parent 7c76e3c5
......@@ -37,7 +37,7 @@ AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS)
testpixbuf_LDADD = $(LDADDS) $(GTK_LIBS)
testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS)
#
# The GdkPixBuf library
......@@ -49,13 +49,15 @@ libgdk_pixbuf_la_SOURCES = \
gdk-pixbuf-data.c \
gdk-pixbuf-io.c \
gdk-pixbuf-loader.c \
gdk-pixbuf-render.c
gdk-pixbuf-render.c \
gnome-canvas-pixbuf.c
libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
libgdk_pixbufinclude_HEADERS = \
gdk-pixbuf.h \
gdk-pixbuf-loader.h
gdk-pixbuf-loader.h \
gnome-canvas-pixbuf.h
noinst_HEADERS = \
gdk-pixbuf-io.h
......
......@@ -23,10 +23,19 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef GDK_PIXBUF_IO_H
#define GDK_PIXBUF_IO_H
#include <gmodule.h>
#include "gdk-pixbuf.h"
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#pragma }
#endif
typedef void (* ModulePreparedNotifyFunc) (GdkPixbuf *pixbuf, gpointer user_data);
......@@ -49,3 +58,10 @@ struct _GdkPixbufModule {
GdkPixbufModule *gdk_pixbuf_get_module (gchar *buffer, gint size);
void gdk_pixbuf_load_module (GdkPixbufModule *image_module);
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment