X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-gradient.h;h=52234b50e47d6b1dcbce049d1ee0efe031dc0952;hb=57eb32794c2df43d60ee8f0a9aa8576567358ce6;hp=de5247c1c57fc2499a1353a05d8772c708b13fcb;hpb=0f600b9add1b1d2f508a52959e809f0d216457cb;p=inkscape.git diff --git a/src/sp-gradient.h b/src/sp-gradient.h index de5247c1c..52234b50e 100644 --- a/src/sp-gradient.h +++ b/src/sp-gradient.h @@ -6,7 +6,9 @@ * * Authors: * Lauris Kaplinski + * Johan Engelen * + * Copyright (C) 2007 Johan Engelen * Copyright (C) 1999-2002 Lauris Kaplinski * Copyright (C) 2000-2001 Ximian, Inc. * @@ -37,13 +39,18 @@ typedef enum { } SPGradientState; typedef enum { - POINT_LG_BEGIN, + 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 + POINT_RG_FOCUS, + POINT_RG_MID1, + POINT_RG_MID2, + // insert new point types here. + + POINT_G_INVALID } GrPointType; /**