46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGiCurveStream Àà
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGiCurveStream ÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TGGICURVESTREAM_H_
|
|
#define _TGGICURVESTREAM_H_
|
|
|
|
#ifndef _TGGIDRAWSTREAMBASE_H_
|
|
#include "TGGiDrawStreamBase.h"
|
|
#endif
|
|
|
|
#ifndef _TGGECURVESEGMENT_H_
|
|
#include "TGGeCurveSegment.h"
|
|
#endif
|
|
|
|
#ifndef _TGGEPOLY2D_H_
|
|
#include "TGGePoly2D.h"
|
|
#endif
|
|
|
|
class GEOAPI TGGiCurveStream : public TGGiDrawStreamBase
|
|
{
|
|
public:
|
|
TGGiCurveStream();
|
|
|
|
virtual void DrawXCurve(const TGGeCurveSegment& curve,double nThick = 0);
|
|
virtual const TCHAR *Desc();
|
|
|
|
//Íâ²Ã¼ô
|
|
void ClipIn(const TGGePoly2D &);
|
|
//Äڲüô
|
|
void ClipOut(const TGGePoly2D &);
|
|
void CopyTo(TGGiDrawStreamBase &toDc) const;
|
|
|
|
static const TCHAR *Descriptor();
|
|
|
|
public:
|
|
TDPtrList<TGGeCurveSegment> m_lstCurves;
|
|
};
|
|
|
|
#endif |