// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SEEN_SP_DESC_H #define SEEN_SP_DESC_H /* * SVG implementation * * Authors: * Jeff Schiller * * Copyright (C) 2008 Jeff Schiller * * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "sp-object.h" #define SP_DESC(obj) (dynamic_cast((SPObject*)obj)) #define SP_IS_DESC(obj) (dynamic_cast((SPObject*)obj) != NULL) class SPDesc : public SPObject { public: SPDesc(); ~SPDesc() override; protected: Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags) override; }; #endif