| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Leo Yang <leoyang@webkit.org> | 2 * Copyright (C) 2011 Leo Yang <leoyang@webkit.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void setDy(float); | 48 void setDy(float); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 explicit SVGGlyphRefElement(Document&); | 51 explicit SVGGlyphRefElement(Document&); |
| 52 | 52 |
| 53 template<typename CharType> | 53 template<typename CharType> |
| 54 void parseAttributeInternal(const QualifiedName&, const AtomicString&); | 54 void parseAttributeInternal(const QualifiedName&, const AtomicString&); |
| 55 | 55 |
| 56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
| 57 | 57 |
| 58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGlyphRefElement) | |
| 59 END_DECLARE_ANIMATED_PROPERTIES | |
| 60 | 58 |
| 61 float m_x; | 59 float m_x; |
| 62 float m_y; | 60 float m_y; |
| 63 float m_dx; | 61 float m_dx; |
| 64 float m_dy; | 62 float m_dy; |
| 65 }; | 63 }; |
| 66 | 64 |
| 67 DEFINE_NODE_TYPE_CASTS(SVGGlyphRefElement, hasTagName(SVGNames::glyphRefTag)); | 65 DEFINE_NODE_TYPE_CASTS(SVGGlyphRefElement, hasTagName(SVGNames::glyphRefTag)); |
| 68 | 66 |
| 69 } | 67 } |
| 70 | 68 |
| 71 #endif | 69 #endif |
| 72 #endif | 70 #endif |
| OLD | NEW |