~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/svg/graphics/SVGPaintServerGradient.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        void setGradient(PassRefPtr<Gradient>);
53
53
        Gradient* gradient() const;
54
54
 
55
 
        GradientSpreadMethod spreadMethod() const;
56
 
        void setGradientSpreadMethod(const GradientSpreadMethod&);
57
 
 
58
55
        // Gradient start and end points are percentages when used in boundingBox mode.
59
56
        // For instance start point with value (0,0) is top-left and end point with
60
57
        // value (100, 100) is bottom-right. BoundingBox mode is enabled by default.
71
68
 
72
69
        virtual bool setup(GraphicsContext*&, const RenderObject*, SVGPaintTargetType, bool isPaintingText) const;
73
70
        virtual void teardown(GraphicsContext*&, const RenderObject*, SVGPaintTargetType, bool isPaintingText) const;
74
 
        virtual void renderPath(GraphicsContext*&, const RenderObject*, SVGPaintTargetType) const;
75
71
 
76
72
    protected:
77
73
        SVGPaintServerGradient(const SVGGradientElement* owner);
79
75
    private:
80
76
        Vector<SVGGradientStop> m_stops;
81
77
        RefPtr<Gradient> m_gradient;
82
 
        GradientSpreadMethod m_spreadMethod;
83
78
        bool m_boundingBoxMode;
84
79
        TransformationMatrix m_gradientTransform;
85
80
        const SVGGradientElement* m_ownerElement;