vdr-plugin-softhddevice-drm-gles 1.4.0
Classes | Public Member Functions | Private Attributes | List of all members
cOglAtlasGlyph Class Reference

#include <openglosd.h>

Collaboration diagram for cOglAtlasGlyph:
Collaboration graph
[legend]

Classes

struct  tKerning
 

Public Member Functions

 cOglAtlasGlyph (FT_ULong charCode, float advanceX, float advanceY, float width, float height, float bearingLeft, float bearingTop, float xoffset, float yoffset)
 
virtual ~cOglAtlasGlyph ()
 
FT_ULong CharCode (void)
 
int AdvanceX (void)
 
int AdvanceY (void)
 
int BearingLeft (void) const
 
int BearingTop (void) const
 
int Width (void) const
 
int Height (void) const
 
float XOffset (void) const
 
float YOffset (void) const
 
int GetKerningCache (FT_ULong prevSym)
 
void SetKerningCache (FT_ULong prevSym, int kerning)
 

Private Attributes

FT_ULong charCode
 
int bearingLeft
 
int bearingTop
 
int width
 
int height
 
int advanceX
 
int advanceY
 
float xoffset
 
float yoffset
 
cVector< tKerningkerningCache
 

Detailed Description

Definition at line 165 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglAtlasGlyph()

cOglAtlasGlyph::cOglAtlasGlyph ( FT_ULong  charCode,
float  advanceX,
float  advanceY,
float  width,
float  height,
float  bearingLeft,
float  bearingTop,
float  xoffset,
float  yoffset 
)

Definition at line 492 of file openglosd.cpp.

References advanceX, advanceY, bearingLeft, bearingTop, charCode, height, width, xoffset, and yoffset.

◆ ~cOglAtlasGlyph()

cOglAtlasGlyph::~cOglAtlasGlyph ( void  )
virtual

Definition at line 507 of file openglosd.cpp.

Member Function Documentation

◆ AdvanceX()

int cOglAtlasGlyph::AdvanceX ( void  )
inline

Definition at line 190 of file openglosd.h.

References advanceX.

Referenced by cOglCmdDrawText::Execute().

◆ AdvanceY()

int cOglAtlasGlyph::AdvanceY ( void  )
inline

Definition at line 191 of file openglosd.h.

References advanceY.

Referenced by cOglCmdDrawText::Execute().

◆ BearingLeft()

int cOglAtlasGlyph::BearingLeft ( void  ) const
inline

Definition at line 192 of file openglosd.h.

References bearingLeft.

Referenced by cOglCmdDrawText::Execute().

◆ BearingTop()

int cOglAtlasGlyph::BearingTop ( void  ) const
inline

Definition at line 193 of file openglosd.h.

References bearingTop.

Referenced by cOglCmdDrawText::Execute().

◆ CharCode()

FT_ULong cOglAtlasGlyph::CharCode ( void  )
inline

Definition at line 189 of file openglosd.h.

References charCode.

Referenced by cOglFont::AtlasKerning().

◆ GetKerningCache()

int cOglAtlasGlyph::GetKerningCache ( FT_ULong  prevSym)

Definition at line 511 of file openglosd.cpp.

References KERNING_UNKNOWN, and kerningCache.

Referenced by cOglFont::AtlasKerning().

◆ Height()

int cOglAtlasGlyph::Height ( void  ) const
inline

Definition at line 195 of file openglosd.h.

References height.

Referenced by cOglCmdDrawText::Execute().

◆ SetKerningCache()

void cOglAtlasGlyph::SetKerningCache ( FT_ULong  prevSym,
int  kerning 
)

Definition at line 519 of file openglosd.cpp.

References kerningCache.

Referenced by cOglFont::AtlasKerning().

◆ Width()

int cOglAtlasGlyph::Width ( void  ) const
inline

Definition at line 194 of file openglosd.h.

References width.

Referenced by cOglCmdDrawText::Execute().

◆ XOffset()

float cOglAtlasGlyph::XOffset ( void  ) const
inline

Definition at line 196 of file openglosd.h.

References xoffset.

Referenced by cOglCmdDrawText::Execute().

◆ YOffset()

float cOglAtlasGlyph::YOffset ( void  ) const
inline

Definition at line 197 of file openglosd.h.

References yoffset.

Referenced by cOglCmdDrawText::Execute().

Member Data Documentation

◆ advanceX

int cOglAtlasGlyph::advanceX
private

Definition at line 181 of file openglosd.h.

Referenced by AdvanceX(), and cOglAtlasGlyph().

◆ advanceY

int cOglAtlasGlyph::advanceY
private

Definition at line 182 of file openglosd.h.

Referenced by AdvanceY(), and cOglAtlasGlyph().

◆ bearingLeft

int cOglAtlasGlyph::bearingLeft
private

Definition at line 177 of file openglosd.h.

Referenced by BearingLeft(), and cOglAtlasGlyph().

◆ bearingTop

int cOglAtlasGlyph::bearingTop
private

Definition at line 178 of file openglosd.h.

Referenced by BearingTop(), and cOglAtlasGlyph().

◆ charCode

FT_ULong cOglAtlasGlyph::charCode
private

Definition at line 176 of file openglosd.h.

Referenced by CharCode(), and cOglAtlasGlyph().

◆ height

int cOglAtlasGlyph::height
private

Definition at line 180 of file openglosd.h.

Referenced by cOglAtlasGlyph(), and Height().

◆ kerningCache

cVector<tKerning> cOglAtlasGlyph::kerningCache
private

Definition at line 185 of file openglosd.h.

Referenced by GetKerningCache(), and SetKerningCache().

◆ width

int cOglAtlasGlyph::width
private

Definition at line 179 of file openglosd.h.

Referenced by cOglAtlasGlyph(), and Width().

◆ xoffset

float cOglAtlasGlyph::xoffset
private

Definition at line 183 of file openglosd.h.

Referenced by cOglAtlasGlyph(), and XOffset().

◆ yoffset

float cOglAtlasGlyph::yoffset
private

Definition at line 184 of file openglosd.h.

Referenced by cOglAtlasGlyph(), and YOffset().


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