Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef DESIGNER_H
Toshihiro Shimizu 890ddd
#define DESIGNER_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/**
Toshihiro Shimizu 890ddd
 * @author  Fabrizio Morciano <fabrizio.morciano@gmail.com></fabrizio.morciano@gmail.com>
Toshihiro Shimizu 890ddd
 */
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tcommon.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TNZEXT_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
namespace ToonzExt
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
class SmoothDeformation;
Toshihiro Shimizu 890ddd
class CornerDeformation;
Toshihiro Shimizu 890ddd
class StraightCornerDeformation;
Toshihiro Shimizu 890ddd
class StrokeDeformation;
Toshihiro Shimizu 890ddd
class Selector;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/**
Toshihiro Shimizu 890ddd
   * @brief This class is a visitor to manage properly Draw method.
Toshihiro Shimizu 890ddd
   */
Toshihiro Shimizu 890ddd
class DVAPI
Toshihiro Shimizu 890ddd
	Designer
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	Designer();
Toshihiro Shimizu 890ddd
	virtual ~Designer();
Toshihiro Shimizu 890ddd
	/**
Toshihiro Shimizu 890ddd
     */
Toshihiro Shimizu 890ddd
	virtual void
Toshihiro Shimizu 890ddd
	draw(SmoothDeformation *);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	/**
Toshihiro Shimizu 890ddd
     */
Toshihiro Shimizu 890ddd
	virtual void
Toshihiro Shimizu 890ddd
	draw(CornerDeformation *);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	virtual void
Toshihiro Shimizu 890ddd
	draw(StraightCornerDeformation *);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	virtual void
Toshihiro Shimizu 890ddd
	draw(StrokeDeformation *);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	virtual void
Toshihiro Shimizu 890ddd
	draw(Selector *);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	double
Toshihiro Shimizu 890ddd
	getPixelSize2() const;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
#endif // !defined(DESIGNER_H)
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
//  End Of File
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------