vdr-plugin-softhddevice-drm-gles 1.6.2
cOglGlyph Class Reference

Single Glyph of a Font. More...

#include <openglosd.h>

Classes

struct  tKerning
 

Public Member Functions

 cOglGlyph (FT_ULong, FT_BitmapGlyph)
 
virtual ~cOglGlyph ()
 
FT_ULong CharCode (void)
 
int AdvanceX (void)
 
int BearingLeft (void) const
 
int BearingTop (void) const
 
int Width (void) const
 
int Height (void) const
 
int GetKerningCache (FT_ULong)
 
void SetKerningCache (FT_ULong, int)
 
void LoadTexture (void)
 
void BindTexture (void)
 

Protected Attributes

FT_ULong m_charCode
 
int m_bearingLeft
 
int m_bearingTop
 
int m_width
 
int m_height
 
unsigned charm_pBuffer
 
int m_advanceX
 
cVector< tKerningm_pKerningCache
 
GLuint m_texture = 0
 

Detailed Description

Single Glyph of a Font.

Definition at line 98 of file openglosd.h.

Member Function Documentation

◆ AdvanceX()

int cOglGlyph::AdvanceX ( void  )
inline

Definition at line 104 of file openglosd.h.

References m_advanceX.

◆ BearingLeft()

int cOglGlyph::BearingLeft ( void  ) const
inline

Definition at line 105 of file openglosd.h.

References m_bearingLeft.

◆ BearingTop()

int cOglGlyph::BearingTop ( void  ) const
inline

Definition at line 106 of file openglosd.h.

References m_bearingTop.

◆ CharCode()

FT_ULong cOglGlyph::CharCode ( void  )
inline

Definition at line 103 of file openglosd.h.

References m_charCode.

◆ Height()

int cOglGlyph::Height ( void  ) const
inline

Definition at line 108 of file openglosd.h.

References m_height.

◆ Width()

int cOglGlyph::Width ( void  ) const
inline

Definition at line 107 of file openglosd.h.

References m_width.

Member Data Documentation

◆ m_advanceX

int cOglGlyph::m_advanceX
protected

Definition at line 129 of file openglosd.h.

Referenced by AdvanceX().

◆ m_bearingLeft

int cOglGlyph::m_bearingLeft
protected

Definition at line 124 of file openglosd.h.

Referenced by BearingLeft().

◆ m_bearingTop

int cOglGlyph::m_bearingTop
protected

Definition at line 125 of file openglosd.h.

Referenced by BearingTop().

◆ m_charCode

FT_ULong cOglGlyph::m_charCode
protected

Definition at line 123 of file openglosd.h.

Referenced by CharCode().

◆ m_height

int cOglGlyph::m_height
protected

Definition at line 127 of file openglosd.h.

Referenced by Height(), and LoadTexture().

◆ m_pBuffer

unsigned char* cOglGlyph::m_pBuffer
protected

Definition at line 128 of file openglosd.h.

Referenced by LoadTexture().

◆ m_pKerningCache

cVector<tKerning> cOglGlyph::m_pKerningCache
protected

Definition at line 130 of file openglosd.h.

Referenced by GetKerningCache(), and SetKerningCache().

◆ m_texture

GLuint cOglGlyph::m_texture = 0
protected

Definition at line 131 of file openglosd.h.

Referenced by BindTexture(), LoadTexture(), and ~cOglGlyph().

◆ m_width

int cOglGlyph::m_width
protected

Definition at line 126 of file openglosd.h.

Referenced by LoadTexture(), and Width().


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