#pragma once // outlineApproximation.h: interface for the outlineApproximation class. // ////////////////////////////////////////////////////////////////////// #if !defined(OUTLINEAPPROXIMATION_H) #define OUTLINEAPPROXIMATION_H #if defined(_MSC_VER) && (_MSC_VER > 1000) #pragma once #endif // _MSC_VER > 1000 #include class TQuadratic; class TStroke; typedef std::pair outlineEdge; typedef std::vector outlineBoundary; void drawOutline(const outlineBoundary &, double pixelSize); void computeOutline(const TStroke *stroke, std::vector &quadArray, double error2) /* ONLY FOT TEST class TThickQuadratic; class TSegment; extern TSegment g_tangEnvelope_1; extern TSegment g_tangEnvelope_2; extern std::vector g_testOutline; TQuadratic makeOutline( const TThickQuadratic* tq, int upOrDown ); */ #endif // !defined(OUTLINEAPPROXIMATION_H)