diff --git a/src/sp-gradient.h b/src/sp-gradient.h
index b0ed49c0023d8205c8c6202da7870899eda718cb..3a26f5e5a53d618e6738ec6e958d60a4d873abef 100644 (file)
--- a/src/sp-gradient.h
+++ b/src/sp-gradient.h
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
+ * Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
*
+ * Copyright (C) 2007 Johan Engelen
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
*
} SPGradientState;
typedef enum {
- POINT_LG_P1,
- POINT_LG_P2,
+ POINT_LG_BEGIN =0, //start enum at 0 (for indexing into gr_knot_shapes array for example)
+ POINT_LG_END,
+ POINT_LG_MID,
POINT_RG_CENTER,
POINT_RG_R1,
POINT_RG_R2,
- POINT_RG_FOCUS
-} GrPoint;
+ POINT_RG_FOCUS,
+ POINT_RG_MID1,
+ POINT_RG_MID2,
+ // insert new point types here.
+
+ POINT_G_INVALID
+} GrPointType;
/**
* Gradient
SPGradientUnits units;
guint units_set : 1;
/** gradientTransform attribute */
- NR::Matrix gradientTransform;
+ Geom::Matrix gradientTransform;
guint gradientTransform_set : 1;
/** spreadMethod attribute */
SPGradientSpread spread;