summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2009-03-21 07:50:18 +0000
committerjoncruz <joncruz@users.sourceforge.net>2009-03-21 07:50:18 +0000
commit9000cb3f58fd6248622163d9da1457d54c4a1d01 (patch)
tree846e42e1dabe337c637447e5de57abd870aca2b3 /src
parentNew Pen and Pencil tools messages (Ctrl+click only works with straight line m... (diff)
downloadinkscape-9000cb3f58fd6248622163d9da1457d54c4a1d01.tar.gz
inkscape-9000cb3f58fd6248622163d9da1457d54c4a1d01.zip
Spaced out for legibility.
(bzr r7534)
Diffstat (limited to 'src')
-rw-r--r--src/sp-gradient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sp-gradient.h b/src/sp-gradient.h
index 3a26f5e5a..abd44538e 100644
--- a/src/sp-gradient.h
+++ b/src/sp-gradient.h
@@ -60,23 +60,31 @@ typedef enum {
* \todo fixme: Implement more here (Lauris)
*/
struct SPGradient : public SPPaintServer {
+
/** Reference (href) */
SPGradientReference *ref;
+
/** State in Inkscape gradient system */
guint state : 2;
+
/** gradientUnits attribute */
SPGradientUnits units;
guint units_set : 1;
+
/** gradientTransform attribute */
Geom::Matrix gradientTransform;
guint gradientTransform_set : 1;
+
/** spreadMethod attribute */
SPGradientSpread spread;
guint spread_set : 1;
+
/** Gradient stops */
guint has_stops : 1;
+
/** Composed vector */
SPGradientVector vector;
+
/** Rendered color array (4 * 1024 bytes) */
guchar *color;