vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cOglFontAtlas Class Reference

#include <openglosd.h>

Public Member Functions

 cOglFontAtlas (FT_Face, int)
 
virtual ~cOglFontAtlas (void)
 
cOglAtlasGlyphGetGlyph (int) const
 
int Height (void) const
 
int Width (void) const
 
void BindTexture (void)
 

Private Attributes

GLuint m_texture = 0
 
int m_width = 0
 
int m_height = 0
 
cOglAtlasGlyphm_pGlyph [MAX_CHARCODE - MIN_CHARCODE+1]
 

Detailed Description

Definition at line 177 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglFontAtlas()

cOglFontAtlas::cOglFontAtlas ( FT_Face  face,
int  height 
)

◆ ~cOglFontAtlas()

cOglFontAtlas::~cOglFontAtlas ( void  )
virtual

Definition at line 440 of file openglosd.cpp.

References m_pGlyph, m_texture, MAX_CHARCODE, and MIN_CHARCODE.

Member Function Documentation

◆ BindTexture()

void cOglFontAtlas::BindTexture ( void  )

Definition at line 459 of file openglosd.cpp.

References m_texture.

Referenced by cOglCmdDrawText::Execute().

◆ GetGlyph()

cOglAtlasGlyph * cOglFontAtlas::GetGlyph ( int  sym) const

Definition at line 452 of file openglosd.cpp.

References m_pGlyph, MAX_CHARCODE, and MIN_CHARCODE.

Referenced by cOglCmdDrawText::Execute().

◆ Height()

int cOglFontAtlas::Height ( void  ) const
inline

Definition at line 183 of file openglosd.h.

References m_height.

Referenced by cOglCmdDrawText::Execute().

◆ Width()

int cOglFontAtlas::Width ( void  ) const
inline

Definition at line 184 of file openglosd.h.

References m_width.

Referenced by cOglCmdDrawText::Execute().

Member Data Documentation

◆ m_height

int cOglFontAtlas::m_height = 0
private

Definition at line 189 of file openglosd.h.

Referenced by cOglFontAtlas(), and Height().

◆ m_pGlyph

cOglAtlasGlyph* cOglFontAtlas::m_pGlyph[MAX_CHARCODE - MIN_CHARCODE+1]
private

Definition at line 190 of file openglosd.h.

Referenced by cOglFontAtlas(), GetGlyph(), and ~cOglFontAtlas().

◆ m_texture

GLuint cOglFontAtlas::m_texture = 0
private

Definition at line 187 of file openglosd.h.

Referenced by BindTexture(), cOglFontAtlas(), and ~cOglFontAtlas().

◆ m_width

int cOglFontAtlas::m_width = 0
private

Definition at line 188 of file openglosd.h.

Referenced by cOglFontAtlas(), and Width().


The documentation for this class was generated from the following files: