26 lines
815 B
C++
26 lines
815 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TTempZoomWindow.cpp
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 类的定义
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "TTempZoomWindow.h"
|
|
/*
|
|
TTempZoomWindow::TTempZoomWindow(const TADSGePoint3d &ptMin, const TADSGePoint3d &ptMax)
|
|
{
|
|
GetScreenCorner(m_ptLowViewCorner, m_ptUpViewCorner);
|
|
m_bRestoreView = (AssureInCurrentView(ptMin, ptMax) == Acad::eOk);
|
|
}
|
|
|
|
TTempZoomWindow::~TTempZoomWindow()
|
|
{
|
|
if (m_bRestoreView)
|
|
{
|
|
ArxZoom(m_ptLowViewCorner, m_ptUpViewCorner); //恢复视口
|
|
}
|
|
}*/ |