michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkSVGText_DEFINED michael@0: #define SkSVGText_DEFINED michael@0: michael@0: #include "SkSVGElements.h" michael@0: michael@0: class SkSVGText : public SkSVGElement { michael@0: DECLARE_SVG_INFO(Text); michael@0: protected: michael@0: SkString f_x; michael@0: SkString f_y; michael@0: SkString f_text; // not an attribute michael@0: private: michael@0: typedef SkSVGElement INHERITED; michael@0: friend class SkSVGParser; michael@0: }; michael@0: michael@0: class SkSVGTspan : public SkSVGText { michael@0: DECLARE_SVG_INFO(Tspan); michael@0: private: michael@0: typedef SkSVGText INHERITED; michael@0: }; michael@0: michael@0: #endif // SkSVGText_DEFINED