tahoma2d/toonz/sources/tnzext/StrokeDeformationAdapter.cpp

23 lines
537 B
C++
Raw Normal View History

2016-03-19 06:57:51 +13:00
#include "ext/StrokeDeformationAdapter.h"
2016-06-15 18:43:10 +12:00
ToonzExt::StrokeDeformationAdapter::StrokeDeformationAdapter() : ref_(0) {}
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
ToonzExt::StrokeDeformationAdapter::~StrokeDeformationAdapter() {}
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
void ToonzExt::StrokeDeformationAdapter::changeDeformation(
StrokeDeformation *new_deformation) {
ref_ = new_deformation;
2016-03-19 06:57:51 +13:00
}
2016-06-15 18:43:10 +12:00
void ToonzExt::StrokeDeformationAdapter::setStrokeDeformation(
StrokeDeformation *sd) {
ref_ = sd;
2016-03-19 06:57:51 +13:00
}
ToonzExt::StrokeDeformation *
2016-06-15 18:43:10 +12:00
ToonzExt::StrokeDeformationAdapter::getStrokeDeformation() {
return ref_;
2016-03-19 06:57:51 +13:00
}