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.
47 lines
1.1 KiB
47 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT: Laserguard libraries
|
|
// SUBSYSTEM: LgLib
|
|
// FILE: SymbolData.h
|
|
// AUTHOR: Chizhevskiy Sergey
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of CSymbolData
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __SYMBOL__DATA__H__INCLUDED__
|
|
#define __SYMBOL__DATA__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class CSymbolData
|
|
{
|
|
public:
|
|
CSymbolData();
|
|
virtual ~CSymbolData();
|
|
|
|
public:
|
|
BOOL Create( int x, int y, LPCTSTR pFontName = _T("Courier New") );
|
|
void Destroy();
|
|
|
|
public:
|
|
BOOL PrintToDIB( LPBITMAPINFO pBitmapInfo, LPBYTE pBytes, LPCTSTR pFormat, ... );
|
|
|
|
public:
|
|
LPBYTE Get( INT nChar );
|
|
INT GetWidth() { return m_nWidth; }
|
|
INT GetHeigth() { return m_nHeight; }
|
|
|
|
private:
|
|
LPBYTE m_pCharImage;
|
|
INT m_nCharImage;
|
|
INT m_nWidth;
|
|
INT m_nHeight;
|
|
};
|
|
|
|
#endif
|