Blob Blame Raw
#pragma once

#ifndef OVERALLDESIGNER_H
#define OVERALLDESIGNER_H

/**
 * @author  Fabrizio Morciano <fabrizio.morciano@gmail.com>
 */

#include "tcommon.h"
//#include "tgeometry.h"

#include "ext/Designer.h"

#undef DVAPI
#undef DVVAR
#ifdef TNZEXT_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif

namespace ToonzExt {
class DVAPI OverallDesigner final : public Designer {
  int x_, y_;
  double scale_, pixelSize_;

  void setPosition();

public:
  OverallDesigner(int x, int y);
  virtual ~OverallDesigner();
  void draw(SmoothDeformation *) override;
  void draw(CornerDeformation *) override;
  void draw(StraightCornerDeformation *) override;
  void draw(StrokeDeformation *) override;
  void draw(Selector *) override;
};
}
#endif /* OVERALLDESIGNER_H */
//-----------------------------------------------------------------------------
//  End Of File
//-----------------------------------------------------------------------------