mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
b7e1bb247b
2002-12-30 Simon Budig <simon@gimp.org> * app/vectors/gimpanchor.h * app/vectors/vectors-types.h: Anchors now have an enum as type and have the "selected" property. * app/vectors/gimpstroke.[ch] * app/vectors/gimpbezierstroke.c * app/vectors/gimpvectors-preview.c: Additional functions to get information about the graphical representation of the stroke and be able to select anchors. * app/tools/gimpvectortool.c: semi-usable interface, better graphical representation of what is going on. Also make use of the "selected" property of the anhors to just display a subset of the control handles.
35 lines
1.1 KiB
C
35 lines
1.1 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;
|
|
};
|
|
|
|
#endif /* __GIMP_ANCHOR_H__ */
|