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

#include <openglosd.h>

Public Member Functions

 cOglAtlasGlyph (FT_ULong charCode, FT_BitmapGlyph ftGlyph, float offsetX, float offsetY)
 
int AdvanceY (void)
 
float OffsetX (void) const
 
float OffsetY (void) const
 
- Public Member Functions inherited from cOglGlyph
 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)
 

Private Attributes

int m_advanceY
 
float m_offsetX
 
float m_offsetY
 

Additional Inherited Members

- Protected Attributes inherited from cOglGlyph
FT_ULong m_charCode
 
int m_bearingLeft
 
int m_bearingTop
 
int m_width
 
int m_height
 
unsigned char * m_pBuffer
 
int m_advanceX
 
cVector< tKerningm_pKerningCache
 
GLuint m_texture = 0
 

Detailed Description

Definition at line 145 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglAtlasGlyph()

cOglAtlasGlyph::cOglAtlasGlyph ( FT_ULong  charCode,
FT_BitmapGlyph  ftGlyph,
float  offsetX,
float  offsetY 
)
inline

Definition at line 148 of file openglosd.h.

Member Function Documentation

◆ AdvanceY()

int cOglAtlasGlyph::AdvanceY ( void  )
inline

Definition at line 154 of file openglosd.h.

References m_advanceY.

Referenced by cOglCmdDrawText::Execute().

◆ OffsetX()

float cOglAtlasGlyph::OffsetX ( void  ) const
inline

Definition at line 155 of file openglosd.h.

References m_offsetX.

Referenced by cOglCmdDrawText::Execute().

◆ OffsetY()

float cOglAtlasGlyph::OffsetY ( void  ) const
inline

Definition at line 156 of file openglosd.h.

References m_offsetY.

Referenced by cOglCmdDrawText::Execute().

Member Data Documentation

◆ m_advanceY

int cOglAtlasGlyph::m_advanceY
private

Definition at line 158 of file openglosd.h.

Referenced by AdvanceY().

◆ m_offsetX

float cOglAtlasGlyph::m_offsetX
private

Definition at line 159 of file openglosd.h.

Referenced by OffsetX().

◆ m_offsetY

float cOglAtlasGlyph::m_offsetY
private

Definition at line 160 of file openglosd.h.

Referenced by OffsetY().


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