tahoma2d/toonz/sources/common/tvectorimage/tstrokeoutline.cpp

36 lines
1,023 B
C++
Raw Normal View History

2016-03-19 06:57:51 +13:00
#include "tstrokeoutline.h"
#include "tcurves.h"
using namespace std;
//-----------------------------------------------------------------------------
TStrokeOutline::TStrokeOutline(const TStrokeOutline &stroke)
2016-06-15 18:43:10 +12:00
: m_outline(stroke.m_outline) {}
2016-03-19 06:57:51 +13:00
//-----------------------------------------------------------------------------
2016-06-15 18:43:10 +12:00
TStrokeOutline &TStrokeOutline::operator=(const TStrokeOutline &stroke) {
TStrokeOutline tmp(stroke);
tmp.m_outline.swap(m_outline);
return *this;
2016-03-19 06:57:51 +13:00
}
//-----------------------------------------------------------------------------
2016-06-15 18:43:10 +12:00
void TStrokeOutline::addOutlinePoint(const TOutlinePoint &p) {
m_outline.push_back(p);
2016-03-19 06:57:51 +13:00
}
//-----------------------------------------------------------------------------
2016-06-15 18:43:10 +12:00
std::vector<TQuadratic> getOutlineWithQuadratic(const TStroke &s) {
return vector<TQuadratic>();
2016-03-19 06:57:51 +13:00
}
//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------