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