Blame toonz/sources/include/tregionoutline.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef TREGIONOUTLINE_H
|
|
Toshihiro Shimizu |
890ddd |
#define TREGIONOUTLINE_H
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
class TRegionOutline {
|
|
Toshihiro Shimizu |
890ddd |
public:
|
|
Shinya Kitaoka |
120a6e |
typedef std::vector<t3dpointd> PointVector;</t3dpointd>
|
|
Shinya Kitaoka |
120a6e |
typedef std::vector<pointvector> Boundary;</pointvector>
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
Boundary m_exterior, m_interior;
|
|
Shinya Kitaoka |
120a6e |
bool m_doAntialiasing;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
TRectD m_bbox;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
TRegionOutline() : m_doAntialiasing(false) {}
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
void clear() {
|
|
Shinya Kitaoka |
120a6e |
m_exterior.clear();
|
|
Shinya Kitaoka |
120a6e |
m_interior.clear();
|
|
Shinya Kitaoka |
120a6e |
}
|
|
Toshihiro Shimizu |
890ddd |
};
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|