Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "ext/StrokeDeformationAdapter.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
ToonzExt::StrokeDeformationAdapter::StrokeDeformationAdapter()
Toshihiro Shimizu 890ddd
	: ref_(0)
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
ToonzExt::StrokeDeformationAdapter::~StrokeDeformationAdapter()
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void ToonzExt::StrokeDeformationAdapter::changeDeformation(StrokeDeformation *new_deformation)
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	ref_ = new_deformation;
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
void ToonzExt::StrokeDeformationAdapter::setStrokeDeformation(StrokeDeformation *sd)
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	ref_ = sd;
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
ToonzExt::StrokeDeformation *
Toshihiro Shimizu 890ddd
ToonzExt::StrokeDeformationAdapter::getStrokeDeformation()
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	return ref_;
Toshihiro Shimizu 890ddd
}