summaryrefslogtreecommitdiffstats
path: root/src/sp-linear-gradient.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-08-03 01:03:43 +0000
committerMarkus Engel <markus.engel@tum.de>2013-08-03 01:03:43 +0000
commitbf4a1d2d49850170b936c30cfe2b30e798716406 (patch)
tree2632b534325df2eb92933f428979eeb8f5c52225 /src/sp-linear-gradient.h
parentreordered SPDesktop::set_event_context2; fixed last mismatched-tags (diff)
downloadinkscape-bf4a1d2d49850170b936c30cfe2b30e798716406.tar.gz
inkscape-bf4a1d2d49850170b936c30cfe2b30e798716406.zip
Cleaned up.
(bzr r11608.1.117)
Diffstat (limited to 'src/sp-linear-gradient.h')
-rw-r--r--src/sp-linear-gradient.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp-linear-gradient.h b/src/sp-linear-gradient.h
index 89065245d..69052fe81 100644
--- a/src/sp-linear-gradient.h
+++ b/src/sp-linear-gradient.h
@@ -22,11 +22,12 @@ public:
SVGLength x2;
SVGLength y2;
-public:
+ virtual cairo_pattern_t* pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity);
+
+protected:
virtual void build(SPDocument *document, Inkscape::XML::Node *repr);
virtual void set(unsigned key, gchar const *value);
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
- virtual cairo_pattern_t* pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity);
};
#endif /* !SP_LINEAR_GRADIENT_H */