| 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 28 matching lines...) Expand all Loading... |
| 39 void setGlyphRef(const AtomicString&, ExceptionCode&); | 39 void setGlyphRef(const AtomicString&, ExceptionCode&); |
| 40 float x() const { return m_x; } | 40 float x() const { return m_x; } |
| 41 void setX(float, ExceptionCode&); | 41 void setX(float, ExceptionCode&); |
| 42 float y() const { return m_y; } | 42 float y() const { return m_y; } |
| 43 void setY(float, ExceptionCode&); | 43 void setY(float, ExceptionCode&); |
| 44 float dx() const { return m_dx; } | 44 float dx() const { return m_dx; } |
| 45 void setDx(float, ExceptionCode&); | 45 void setDx(float, ExceptionCode&); |
| 46 float dy() const { return m_dy; } | 46 float dy() const { return m_dy; } |
| 47 void setDy(float, ExceptionCode&); | 47 void setDy(float, ExceptionCode&); |
| 48 | 48 |
| 49 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledElement::acc
ept(visitor); } |
| 50 |
| 49 private: | 51 private: |
| 50 SVGGlyphRefElement(const QualifiedName&, const Handle<Document>&); | 52 SVGGlyphRefElement(const QualifiedName&, const Handle<Document>&); |
| 51 | 53 |
| 52 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } | 54 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } |
| 53 | 55 |
| 54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGlyphRefElement) | 56 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGlyphRefElement) |
| 55 DECLARE_ANIMATED_STRING(Href, href) | 57 DECLARE_ANIMATED_STRING(Href, href) |
| 56 END_DECLARE_ANIMATED_PROPERTIES | 58 END_DECLARE_ANIMATED_PROPERTIES |
| 57 | 59 |
| 58 float m_x; | 60 float m_x; |
| 59 float m_y; | 61 float m_y; |
| 60 float m_dx; | 62 float m_dx; |
| 61 float m_dy; | 63 float m_dy; |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } | 66 } |
| 65 | 67 |
| 66 #endif | 68 #endif |
| 67 #endif | 69 #endif |
| OLD | NEW |