gfx/skia/trunk/src/svg/SkSVGText.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/svg/SkSVGText.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2006 The Android Open Source Project
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +
    1.12 +
    1.13 +#ifndef SkSVGText_DEFINED
    1.14 +#define SkSVGText_DEFINED
    1.15 +
    1.16 +#include "SkSVGElements.h"
    1.17 +
    1.18 +class SkSVGText : public SkSVGElement {
    1.19 +    DECLARE_SVG_INFO(Text);
    1.20 +protected:
    1.21 +    SkString f_x;
    1.22 +    SkString f_y;
    1.23 +    SkString f_text;    // not an attribute
    1.24 +private:
    1.25 +    typedef SkSVGElement INHERITED;
    1.26 +    friend class SkSVGParser;
    1.27 +};
    1.28 +
    1.29 +class SkSVGTspan : public SkSVGText {
    1.30 +    DECLARE_SVG_INFO(Tspan);
    1.31 +private:
    1.32 +    typedef SkSVGText INHERITED;
    1.33 +};
    1.34 +
    1.35 +#endif // SkSVGText_DEFINED

mercurial