FontGL.h
Upload User: apollo_111
Upload Date: 2022-08-09
Package Size: 2146k
Code Size: 1k
Category:

OpenGL program

Development Platform:

Visual C++

  1. // FontGL.h: interface for the CFontGL class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_FONTGL_H__B28DBAD5_CFBC_49E8_8CDE_0F5214EC657C__INCLUDED_)
  5. #define AFX_FONTGL_H__B28DBAD5_CFBC_49E8_8CDE_0F5214EC657C__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CFontGL  
  10. {
  11. public:
  12. CFontGL();
  13. virtual ~CFontGL();
  14. void BuildFont(struct HDC__ *hhdc);
  15. void glPrint(const char *fmt, ...);
  16. void KillFont(void);
  17. GLuint  m_iBaseFont;
  18. };
  19. #endif // !defined(AFX_FONTGL_H__B28DBAD5_CFBC_49E8_8CDE_0F5214EC657C__INCLUDED_)