Lines Matching refs:m_pFontInfo
51 m_pFontInfo(NULL), in ResFontBase()
78 NN_ASSERT(m_pFontInfo == NULL); in SetResourceBuffer()
81 m_pFontInfo = pFontInfo; in SetResourceBuffer()
99 m_pFontInfo = NULL; in RemoveResourceBuffer()
114 NN_POINTER_ASSERT(m_pFontInfo); in GetWidth()
115 return m_pFontInfo->width; in GetWidth()
121 NN_POINTER_ASSERT(m_pFontInfo); in GetHeight()
122 return m_pFontInfo->height; in GetHeight()
128 NN_POINTER_ASSERT(m_pFontInfo); in GetAscent()
129 return m_pFontInfo->ascent; in GetAscent()
135 NN_POINTER_ASSERT(m_pFontInfo); in GetDescent()
136 return m_pFontInfo->height - m_pFontInfo->ascent; in GetDescent()
142 NN_POINTER_ASSERT(m_pFontInfo); in GetBaselinePos()
143 return m_pFontInfo->pGlyph->baselinePos; in GetBaselinePos()
149 NN_POINTER_ASSERT(m_pFontInfo); in GetCellHeight()
150 return m_pFontInfo->pGlyph->cellHeight; in GetCellHeight()
156 NN_POINTER_ASSERT(m_pFontInfo); in GetCellWidth()
157 return m_pFontInfo->pGlyph->cellWidth; in GetCellWidth()
163 NN_POINTER_ASSERT(m_pFontInfo); in GetMaxCharWidth()
164 return m_pFontInfo->pGlyph->maxCharWidth; in GetMaxCharWidth()
176 NN_POINTER_ASSERT(m_pFontInfo); in GetTextureFormat()
177 return static_cast<TexFmt>(m_pFontInfo->pGlyph->sheetFormat); in GetTextureFormat()
183 NN_POINTER_ASSERT(m_pFontInfo); in GetLineFeed()
184 return m_pFontInfo->linefeed; in GetLineFeed()
190 NN_POINTER_ASSERT(m_pFontInfo); in GetDefaultCharWidths()
191 return m_pFontInfo->defaultWidth; in GetDefaultCharWidths()
197 NN_POINTER_ASSERT(m_pFontInfo); in SetDefaultCharWidths()
199 m_pFontInfo->defaultWidth = widths; in SetDefaultCharWidths()
205 NN_POINTER_ASSERT(m_pFontInfo); in SetAlternateChar()
210 m_pFontInfo->alterCharIndex = index; in SetAlternateChar()
220 NN_POINTER_ASSERT(m_pFontInfo); in SetLineFeed()
222 m_pFontInfo->linefeed = static_cast<s8>(linefeed); in SetLineFeed()
269 NN_POINTER_ASSERT(m_pFontInfo); in GetCharacterCode()
271 return static_cast<CharacterCode>(m_pFontInfo->characterCode); in GetCharacterCode()
283 NN_POINTER_ASSERT(m_pFontInfo); in GetGlyphIndex()
285 return (index != GLYPH_INDEX_NOT_FOUND) ? index: m_pFontInfo->alterCharIndex; in GetGlyphIndex()
291 NN_POINTER_ASSERT(m_pFontInfo); in FindGlyphIndex()
300 const FontCodeMap* pMap = m_pFontInfo->pMap; in FindGlyphIndex()
388 NN_POINTER_ASSERT(m_pFontInfo); in GetCharWidthsFromIndex()
391 pWidth = m_pFontInfo->pWidth; in GetCharWidthsFromIndex()
403 return m_pFontInfo->defaultWidth; in GetCharWidthsFromIndex()
422 NN_POINTER_ASSERT(m_pFontInfo); in GetGlyphFromIndex()
423 const FontTextureGlyph& tg = *m_pFontInfo->pGlyph; in GetGlyphFromIndex()
510 NN_POINTER_ASSERT(m_pFontInfo); in GetActiveSheetNum()
511 return m_pFontInfo->pGlyph->sheetNum; in GetActiveSheetNum()
520 const FontTextureGlyph& tg = *m_pFontInfo->pGlyph; in GenTextureNames()