| #pragma once |
| |
| |
| |
| |
| |
| #if !defined(OUTLINEAPPROXIMATION_H) |
| #define OUTLINEAPPROXIMATION_H |
| |
| #if defined(_MSC_VER) && (_MSC_VER > 1000) |
| #pragma once |
| #endif |
| |
| #include <vector> |
| |
| class TQuadratic; |
| class TStroke; |
| |
| typedef std::pair<TQuadratic *, TQuadratic *> outlineEdge; |
| typedef std::vector<outlineEdge> outlineBoundary; |
| |
| void drawOutline(const outlineBoundary &, double pixelSize); |
| |
| void computeOutline(const TStroke *stroke, std::vector<TQuadratic *> &quadArray, |
| double error2) |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #endif |
| |