Code

Fix snapping to midpoints of closing segments
[inkscape.git] / src / sp-linear-gradient.h
1 #ifndef SP_LINEAR_GRADIENT_H
2 #define SP_LINEAR_GRADIENT_H
4 /** \file
5  * SPLinearGradient: SVG <lineargradient> implementation
6  */
8 #include "sp-gradient.h"
9 #include "svg/svg-length.h"
10 #include "sp-linear-gradient-fns.h"
12 /** Linear gradient. */
13 struct SPLinearGradient : public SPGradient {
14     SVGLength x1;
15     SVGLength y1;
16     SVGLength x2;
17     SVGLength y2;
18 };
20 /// The SPLinearGradient vtable.
21 struct SPLinearGradientClass {
22     SPGradientClass parent_class;
23 };
25 #endif /* !SP_LINEAR_GRADIENT_H */
27 /*
28   Local Variables:
29   mode:c++
30   c-file-style:"stroustrup"
31   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
32   indent-tabs-mode:nil
33   fill-column:99
34   End:
35 */
36 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :