diff -r 000000000000 -r 6474c204b198 gfx/skia/trunk/src/svg/SkSVGText.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gfx/skia/trunk/src/svg/SkSVGText.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,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