You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: SurfaceCLD.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of SurfaceCLD.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __SURFACE__CLD__H__INCLUDED__
|
|
#define __SURFACE__CLD__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "..\..\LgLib\MFC\MemoryDC.h"
|
|
|
|
class CSurfaceCLD : public CLgMemoryDC
|
|
{
|
|
public:
|
|
CSurfaceCLD();
|
|
virtual ~CSurfaceCLD();
|
|
|
|
public:
|
|
virtual void Create( int cx, int cy, COLORREF color = RGB(0,0,0) );
|
|
void SetCommonZero( double dCommonZero );
|
|
void SetRange( double dRange );
|
|
|
|
public:
|
|
void DrawTarget( double range, COLORREF color );
|
|
|
|
private:
|
|
double m_dRange;
|
|
double m_dScale;
|
|
double m_dDR;
|
|
double m_dCommonZero;
|
|
};
|
|
|
|
#endif
|