8 #ifndef __opengl_FontOpenGL_h__ 9 #define __opengl_FontOpenGL_h__ 28 void initialize(
void);
30 virtual I32 fontHeight(I32* a_pAscent,I32* a_pDescent)
34 *a_pAscent=m_fontAscent;
38 *a_pDescent=m_fontDescent;
41 return m_fontAscent+m_fontDescent;
43 virtual I32 pixelWidth(
String a_string)
45 #if FE_2DGL==FE_2D_X_GFX 46 return XTextWidth(m_pFontStruct,
64 #if FE_2DGL==FE_2D_X_GFX 65 XFontStruct* m_pFontStruct;
68 Real m_multiplication;
const FESTRING_I8 * c_str(void) const
Return the contents of the 8-bit buffer cast as signed bytes.
Definition: String.h:352
kernel
Definition: namespace.dox:3
OpenGL-specific implementations for FontI.
Definition: FontOpenGL.h:21
General interface to a window.
Definition: FontI.h:20
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Special vector for color (RGBA)
Definition: Color.h:21
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
U32 length(void) const
Return the number of represented characters, but not necessarily the size of any buffer.
Definition: String.h:662