Shinya Kitaoka 810553
#pragma once
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
Shinya Kitaoka 120a6e
namespace ToonzExt {
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
   */
Shinya Kitaoka 120a6e
class DVAPI Designer {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  Designer();
Shinya Kitaoka 120a6e
  virtual ~Designer();
Shinya Kitaoka 120a6e
  /**
Shinya Kitaoka 120a6e
*/
Shinya Kitaoka 120a6e
  virtual void draw(SmoothDeformation *);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  /**
Shinya Kitaoka 120a6e
*/
Shinya Kitaoka 120a6e
  virtual void draw(CornerDeformation *);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  virtual void draw(StraightCornerDeformation *);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  virtual void draw(StrokeDeformation *);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  virtual void draw(Selector *);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  double getPixelSize2() const;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
}
Shinya Kitaoka 120a6e
#endif  // !defined(DESIGNER_H)
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
//  End Of File
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------