SVGAltGlyphElement.h [plain text]
#ifndef SVGAltGlyphElement_h
#define SVGAltGlyphElement_h
#if ENABLE(SVG_FONTS)
#include "SVGTextPositioningElement.h"
#include "SVGURIReference.h"
#include <wtf/Vector.h>
namespace WebCore {
class SVGGlyphElement;
class SVGAltGlyphElement : public SVGTextPositioningElement,
public SVGURIReference {
public:
static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document*);
const AtomicString& glyphRef() const;
void setGlyphRef(const AtomicString&, ExceptionCode&);
const AtomicString& format() const;
void setFormat(const AtomicString&, ExceptionCode&);
bool hasValidGlyphElements(Vector<String>& glyphNames) const;
private:
SVGAltGlyphElement(const QualifiedName&, Document*);
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement)
DECLARE_ANIMATED_STRING(Href, href)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif // ENABLE(SVG)
#endif