tahoma2d/toonz/sources/include/ext/StraightCornerDeformation.h

50 lines
1 KiB
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef STRAIGHTCORNERDEFORMATION_H
#define STRAIGHTCORNERDEFORMATION_H
/**
* @author Fabrizio Morciano <fabrizio.morciano@gmail.com>
*/
//#include "tcommon.h"
#include "tgeometry.h"
//#include "ext/TriParam.h"
#include <vector>
#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
#include "StrokeDeformationImpl.h"
2016-06-15 18:43:10 +12:00
namespace ToonzExt {
class DVAPI StraightCornerDeformation : public StrokeDeformationImpl {
StraightCornerDeformation();
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
virtual ~StraightCornerDeformation();
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
bool check_(const ContextStatus *status);
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
bool findExtremes_(const ContextStatus *, Interval &);
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
virtual void draw(Designer *);
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
double findActionLength();
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
static StraightCornerDeformation *instance();
2016-03-19 06:57:51 +13:00
};
}
#endif /* STRAIGHTCORNERDEFORMATION_H */
//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------