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