mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
This patch improves vector layer UX based on feedback. In summary: * Makes vector layer editable from the Path tool * Adds initial PDB for creating vector layers in scripts * Size vector layers to the path size, rather than image * Transform tools utilize the path for resizing * Path tool automatically selects vector layer path
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* path-types.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 3 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, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "core/core-types.h"
|
|
|
|
#include "path-enums.h"
|
|
|
|
|
|
typedef struct _GimpAnchor GimpAnchor;
|
|
|
|
typedef struct _GimpPath GimpPath;
|
|
typedef struct _GimpStroke GimpStroke;
|
|
typedef struct _GimpBezierStroke GimpBezierStroke;
|
|
|
|
typedef struct _GimpVectorLayer GimpVectorLayer;
|
|
typedef struct _GimpVectorLayerOptions GimpVectorLayerOptions;
|
|
typedef struct _GimpVectorLayerUndo GimpVectorLayerUndo;
|