359a38ce40498397028473d956691915ed3e849atavmjong-free#ifndef SEEN_SP_MESHROW_H
359a38ce40498397028473d956691915ed3e849atavmjong-free#define SEEN_SP_MESHROW_H
359a38ce40498397028473d956691915ed3e849atavmjong-free
359a38ce40498397028473d956691915ed3e849atavmjong-free/** \file
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free * SPMeshrow: SVG <meshrow> implementation.
359a38ce40498397028473d956691915ed3e849atavmjong-free */
359a38ce40498397028473d956691915ed3e849atavmjong-free/*
359a38ce40498397028473d956691915ed3e849atavmjong-free * Authors: Tavmjong Bah
359a38ce40498397028473d956691915ed3e849atavmjong-free * Copyright (C) 2012 Tavmjong Bah
359a38ce40498397028473d956691915ed3e849atavmjong-free *
359a38ce40498397028473d956691915ed3e849atavmjong-free * Released under GNU GPL, read the file 'COPYING' for more information
359a38ce40498397028473d956691915ed3e849atavmjong-free */
359a38ce40498397028473d956691915ed3e849atavmjong-free
359a38ce40498397028473d956691915ed3e849atavmjong-free#include "sp-object.h"
359a38ce40498397028473d956691915ed3e849atavmjong-free
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free#define SP_MESHROW(obj) (dynamic_cast<SPMeshrow*>((SPObject*)obj))
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free#define SP_IS_MESHROW(obj) (dynamic_cast<const SPMeshrow*>((SPObject*)obj) != NULL)
3631081d6a2243886b4a4a05a5e5dc3fd96d2390Markus Engel
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free/** Gradient Meshrow. */
a3c27728560e19f7c710399f838dadeedac39249tavmjong-freeclass SPMeshrow : public SPObject {
3631081d6a2243886b4a4a05a5e5dc3fd96d2390Markus Engelpublic:
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free SPMeshrow();
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free virtual ~SPMeshrow();
359a38ce40498397028473d956691915ed3e849atavmjong-free
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free SPMeshrow* getNextMeshrow();
a3c27728560e19f7c710399f838dadeedac39249tavmjong-free SPMeshrow* getPrevMeshrow();
3631081d6a2243886b4a4a05a5e5dc3fd96d2390Markus Engel
8a31b1115420f4d615668373e436a2e4be1cbf51Markus Engelprotected:
51dc158adbe2c9d1df3c941cbf78b90944d1afc2Markus Engel virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White virtual void set(unsigned int key, const char* value);
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags);
3631081d6a2243886b4a4a05a5e5dc3fd96d2390Markus Engel};
3631081d6a2243886b4a4a05a5e5dc3fd96d2390Markus Engel
359a38ce40498397028473d956691915ed3e849atavmjong-free#endif /* !SEEN_SP_MESHROW_H */
359a38ce40498397028473d956691915ed3e849atavmjong-free
359a38ce40498397028473d956691915ed3e849atavmjong-free/*
359a38ce40498397028473d956691915ed3e849atavmjong-free Local Variables:
359a38ce40498397028473d956691915ed3e849atavmjong-free mode:c++
359a38ce40498397028473d956691915ed3e849atavmjong-free c-file-style:"stroustrup"
359a38ce40498397028473d956691915ed3e849atavmjong-free c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
359a38ce40498397028473d956691915ed3e849atavmjong-free indent-tabs-mode:nil
359a38ce40498397028473d956691915ed3e849atavmjong-free fill-column:99
359a38ce40498397028473d956691915ed3e849atavmjong-free End:
359a38ce40498397028473d956691915ed3e849atavmjong-free*/
359a38ce40498397028473d956691915ed3e849atavmjong-free// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :