Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef STRAIGHTCORNERDEFORMATION_H
Toshihiro Shimizu 890ddd
#define STRAIGHTCORNERDEFORMATION_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
#include "tgeometry.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//#include "ext/TriParam.h"
Toshihiro Shimizu 890ddd
#include <vector></vector>
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
#include "StrokeDeformationImpl.h"
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace ToonzExt {
Shinya Kitaoka d1f6c4
class DVAPI StraightCornerDeformation final : public StrokeDeformationImpl {
Shinya Kitaoka 120a6e
  StraightCornerDeformation();
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  virtual ~StraightCornerDeformation();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 473e70
  bool check_(const ContextStatus *status) override;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 473e70
  bool findExtremes_(const ContextStatus *, Interval &) override;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 473e70
  void draw(Designer *) override;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 473e70
  double findActionLength() override;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  static StraightCornerDeformation *instance();
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
#endif /* STRAIGHTCORNERDEFORMATION_H */
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
//  End Of File
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------