mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
114f747f4c
2004-06-30 Sven Neumann <sven@gimp.org> * app/widgets/gimpselectiondata.[ch]: renamed the SVG related functions so that they deal with an anonymous data stream that could as well be a PNG image. * app/widgets/gimpdnd.[ch] * app/widgets/gimpcontainertreeview-dnd.c: changed accordingly. * app/display/gimpdisplayshell-dnd.[ch] * app/vectors/gimpvectors-import.[ch] * app/widgets/gimpcontainertreeview-dnd.c * app/widgets/gimpvectorstreeview.c: use gsize for the length of the buffer. * app/widgets/gimpdnd.[ch] * app/widgets/widgets-enums.[ch]: added GIMP_DND_TYPE_PNG which isn't used yet.
42 lines
1.7 KiB
C
42 lines
1.7 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* GimpVectors Import
|
|
* Copyright (C) 2003 Sven Neumann <sven@gimp.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_VECTORS_IMPORT_H__
|
|
#define __GIMP_VECTORS_IMPORT_H__
|
|
|
|
|
|
gboolean gimp_vectors_import_file (GimpImage *image,
|
|
const gchar *filename,
|
|
gboolean merge,
|
|
gboolean scale,
|
|
gint position,
|
|
GError **error);
|
|
gboolean gimp_vectors_import_buffer (GimpImage *image,
|
|
const gchar *buffer,
|
|
gsize len,
|
|
gboolean merge,
|
|
gboolean scale,
|
|
gint position,
|
|
GError **error);
|
|
|
|
|
|
#endif /* __GIMP_VECTORS_IMPORT_H__ */
|