aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/svg/parser/SkSVGText.h
blob: 5ac2fbddfb3add30a21ca3ebf4eb992f00ba8c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkSVGText_DEFINED
#define SkSVGText_DEFINED

#include "SkSVGElements.h"

class SkSVGText : public SkSVGElement {
    DECLARE_SVG_INFO(Text);
protected:
    SkString f_x;
    SkString f_y;
    SkString f_text;    // not an attribute
private:
    typedef SkSVGElement INHERITED;
    friend class SkSVGParser;
};

class SkSVGTspan : public SkSVGText {
    DECLARE_SVG_INFO(Tspan);
private:
    typedef SkSVGText INHERITED;
};

#endif // SkSVGText_DEFINED