65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XImageBufList 类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: XImageBufList 声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _XIMAGEBUFLIST_H_
|
|
#define _XIMAGEBUFLIST_H_
|
|
|
|
#ifndef _XCOLORLINE_H_
|
|
#include "XImageBuf.h"
|
|
#endif
|
|
|
|
#ifndef _XPOLY_H_
|
|
#include "XPoly.h"
|
|
#endif
|
|
|
|
#ifndef _XPOINT_H_
|
|
#include "XPoint.h"
|
|
#endif
|
|
|
|
|
|
#ifndef _DLIST_H_
|
|
#include "DList.h"
|
|
#endif
|
|
|
|
#ifndef _XCOLORSOLID_H_
|
|
#include "XColorSolid.h"
|
|
#endif
|
|
|
|
class GEOAPI XImageBufList : public DList<XImageBuf>
|
|
{
|
|
public:
|
|
|
|
XImageBufList();
|
|
|
|
~XImageBufList();
|
|
|
|
XImageBufList & operator = (XImageBufList &src);
|
|
|
|
// slide or SLB(SLD)
|
|
int FromSlide(const TCHAR *pszSlide);
|
|
|
|
int GetExtend(XPoint &ptLow, XPoint &ptUp);
|
|
|
|
void Reset();
|
|
|
|
void Transform(ads_matrix mat);
|
|
|
|
void AppendSolid(int nColor, const XPoly &poly);
|
|
|
|
//坐标系变换并ZOOM, nx, ny为设备的尺寸, nOffset为ZoomE时预留的空间
|
|
void WcsToDcs(int nx, int ny, int nOffset); //DCS-Windows的设备坐标系和Image的坐标系
|
|
|
|
public:
|
|
|
|
DList<XColorSolid> m_lstSolid;
|
|
};
|
|
|
|
#endif
|