spiral-tool.h revision edc2f3b640cca99df088effceaa7da6273f4d8d4
#ifndef __SP_SPIRAL_CONTEXT_H__
#define __SP_SPIRAL_CONTEXT_H__
/** \file
* Spiral drawing context
*/
/*
* Authors:
* Mitsuru Oka
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2001 Lauris Kaplinski
* Copyright (C) 2001-2002 Mitsuru Oka
*
* Released under GNU GPL
*/
#include <sigc++/connection.h>
#include "ui/tools/tool-base.h"
#define SP_SPIRAL_CONTEXT(obj) (dynamic_cast<Inkscape::UI::Tools::SpiralTool*>((Inkscape::UI::Tools::ToolBase*)obj))
#define SP_IS_SPIRAL_CONTEXT(obj) (dynamic_cast<const Inkscape::UI::Tools::SpiralTool*>((const Inkscape::UI::Tools::ToolBase*)obj) != NULL)
SpiralTool();
virtual ~SpiralTool();
void finishItem();
void cancel();
};
}
}
}
#endif