8 #ifndef __maya_FontMaya_h__ 9 #define __maya_FontMaya_h__ 28 virtual I32 fontHeight(I32* a_pAscent,I32* a_pDescent)
32 *a_pAscent=m_fontAscent;
36 *a_pDescent=m_fontDescent;
39 return m_fontAscent+m_fontDescent;
41 virtual I32 pixelWidth(
String a_string)
42 {
return m_charWidth*a_string.
length(); }
kernel
Definition: namespace.dox:3
General interface to a window.
Definition: FontI.h:20
Special vector for color (RGBA)
Definition: Color.h:21
Automatically reference-counted string container.
Definition: String.h:128
Maya-specific implementations for FontI.
Definition: FontMaya.h:21
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
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192