Old fashion design for PC-104
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.

46 lines
1.1 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 05/07/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: SymbolData.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SymbolData.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __SYMBOL__DATA__H__INCLUDED__
  15. #define __SYMBOL__DATA__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CSymbolData
  20. {
  21. public:
  22. CSymbolData();
  23. virtual ~CSymbolData();
  24. public:
  25. BOOL Create( int x, int y, LPCTSTR pFontName = _T("Courier New") );
  26. void Destroy();
  27. public:
  28. BOOL PrintToDIB( LPBITMAPINFO pBitmapInfo, LPBYTE pBytes, LPCTSTR pFormat, ... );
  29. public:
  30. LPBYTE Get( INT nChar );
  31. INT GetWidth() { return m_nWidth; }
  32. INT GetHeigth() { return m_nHeight; }
  33. private:
  34. LPBYTE m_pCharImage;
  35. INT m_nCharImage;
  36. INT m_nWidth;
  37. INT m_nHeight;
  38. };
  39. #endif