mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
7c4d375aa9
2003-07-17 Sven Neumann <sven@gimp.org> * app/vectors/Makefile.am * app/vectors/gimpanchor.[ch]: added a simple GimpAnchor API. * app/vectors/gimpbezierstroke.c * app/vectors/gimpstroke.c: use the new functions.
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimpanchor.h
|
|
* Copyright (C) 2002 Simon Budig <simon@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_ANCHOR_H__
|
|
#define __GIMP_ANCHOR_H__
|
|
|
|
|
|
struct _GimpAnchor
|
|
{
|
|
GimpCoords position;
|
|
|
|
GimpAnchorType type; /* Interpretation dependant on GimpStroke type */
|
|
gboolean selected;
|
|
};
|
|
|
|
|
|
GimpAnchor * gimp_anchor_new (GimpAnchorType type,
|
|
const GimpCoords *position);
|
|
void gimp_anchor_free (GimpAnchor *anchor);
|
|
GimpAnchor * gimp_anchor_duplicate (const GimpAnchor *anchor);
|
|
|
|
|
|
#endif /* __GIMP_ANCHOR_H__ */
|