~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to plug-ins/gfig/gfig-types.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * This is a plug-in for the GIMP.
 
5
 *
 
6
 * Generates images containing vector type drawings.
 
7
 *
 
8
 * Copyright (C) 1997 Andy Thomas  alt@picnic.demon.co.uk
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; either version 2 of the License, or
 
13
 * (at your option) any later version.
 
14
 *
 
15
 * This program is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with this program; if not, write to the Free Software
 
22
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
23
 *
 
24
 */
 
25
 
 
26
#ifndef __GFIG_ENUMS_H__
 
27
#define __GFIG_ENUMS_H__
 
28
 
 
29
typedef enum
 
30
{
 
31
  RECT_GRID = 0,
 
32
  POLAR_GRID,
 
33
  ISO_GRID
 
34
} GridType;
 
35
 
 
36
typedef enum
 
37
{
 
38
  ADD = 0,
 
39
  SUBTRACT,
 
40
  REPLACE,
 
41
  INTERSECT
 
42
} SelectionType;
 
43
 
 
44
typedef enum
 
45
{
 
46
  ARC_SEGMENT = 0,
 
47
  ARC_SECTOR
 
48
} ArcType;
 
49
 
 
50
typedef enum
 
51
{
 
52
  FILL_NONE = 0,
 
53
  FILL_COLOR,
 
54
  FILL_PATTERN,
 
55
  FILL_GRADIENT
 
56
} FillType;
 
57
 
 
58
typedef enum
 
59
{
 
60
  ORIGINAL_LAYER = 0,
 
61
  SINGLE_LAYER,
 
62
  MULTI_LAYER
 
63
} DrawonLayers;
 
64
 
 
65
typedef enum
 
66
{
 
67
  LAYER_TRANS_BG = 0,
 
68
  LAYER_BG_BG,
 
69
  LAYER_FG_BG,
 
70
  LAYER_WHITE_BG,
 
71
  LAYER_COPY_BG
 
72
} LayersBGType;
 
73
 
 
74
typedef enum
 
75
{
 
76
  PAINT_NONE = 0,
 
77
  PAINT_BRUSH_TYPE = 1
 
78
} PaintType;
 
79
 
 
80
typedef enum
 
81
{
 
82
  BRUSH_BRUSH_TYPE = 0,
 
83
  BRUSH_PENCIL_TYPE,
 
84
  BRUSH_AIRBRUSH_TYPE,
 
85
  BRUSH_PATTERN_TYPE
 
86
} BrushType;
 
87
 
 
88
typedef enum
 
89
{
 
90
  OBJ_TYPE_NONE = 0,
 
91
  LINE,
 
92
  CIRCLE,
 
93
  ELLIPSE,
 
94
  ARC,
 
95
  POLY,
 
96
  STAR,
 
97
  SPIRAL,
 
98
  BEZIER,
 
99
  NUM_OBJ_TYPES,
 
100
  MOVE_OBJ,
 
101
  MOVE_POINT,
 
102
  COPY_OBJ,
 
103
  MOVE_COPY_OBJ,
 
104
  DEL_OBJ,
 
105
  SELECT_OBJ,
 
106
  NULL_OPER
 
107
} DobjType;
 
108
 
 
109
typedef struct _GFigObj    GFigObj;
 
110
typedef struct _GfigObject GfigObject;
 
111
typedef struct _Style      Style;
 
112
 
 
113
#endif /* __GFIG_ENUMS_H__ */