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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/rendering/SVGRootInlineBox.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:
47
47
public:
48
48
    SVGRootInlineBox(RenderObject* obj)
49
49
        : RootInlineBox(obj)
 
50
        , m_height(0)
50
51
    {
51
52
    }
52
53
 
53
54
    virtual bool isSVGRootInlineBox() { return true; }
54
55
 
 
56
    virtual int virtualHeight() const { return m_height; }
 
57
    void setHeight(int h) { m_height = h; }
 
58
    
55
59
    virtual void paint(RenderObject::PaintInfo&, int tx, int ty);
56
60
 
57
61
    virtual int placeBoxesHorizontally(int x, int& leftPosition, int& rightPosition, bool& needsWordSpacing);
58
 
    virtual void verticallyAlignBoxes(int& heightOfBlock);
 
62
    virtual int verticallyAlignBoxes(int heightOfBlock);
59
63
 
60
64
    virtual void computePerCharacterLayoutInformation();
61
65
 
80
84
    SVGTextDecorationInfo retrievePaintServersForTextDecoration(RenderObject* start);
81
85
 
82
86
private:
 
87
    int m_height;
83
88
    Vector<SVGChar> m_svgChars;
84
89
    Vector<SVGTextChunk> m_svgTextChunks;
85
90
};