Lines Matching refs:glyph

235     Glyph glyph;  in Print()  local
236 m_pFont->GetGlyph(&glyph, code); in Print()
238 CharWidths &widths = glyph.widths; in Print()
255 PrintGlyph(m_CursorPos.x + left, glyph); in Print()
265 CharWriter::DrawGlyph(const Glyph& glyph) in DrawGlyph() argument
267 NN_POINTER_ASSERT(&glyph); in DrawGlyph()
268 PrintGlyph(m_CursorPos.x, glyph); in DrawGlyph()
269 m_CursorPos.x += glyph.widths.glyphWidth * m_Scale.x; in DrawGlyph()
281 const Glyph& glyph in PrintGlyph() argument
284 NN_POINTER_ASSERT(&glyph); in PrintGlyph()
285 NW_FONT_MIN_ASSERT(glyph.texWidth, 1); in PrintGlyph()
286 NW_FONT_MIN_ASSERT(glyph.texHeight, 1); in PrintGlyph()
290 const f32 texLeft = 1.0f * glyph.cellX / glyph.texWidth; in PrintGlyph()
291 const f32 texRight = 1.0f * (glyph.cellX + glyph.widths.glyphWidth) in PrintGlyph()
292 / glyph.texWidth; in PrintGlyph()
296 const f32 texTop = 1.0f * (glyph.texHeight - glyph.cellY) / glyph.texHeight; in PrintGlyph()
297 const f32 texBottom = 1.0f * (glyph.texHeight - (glyph.cellY + glyph.height)) in PrintGlyph()
298 / glyph.texHeight; in PrintGlyph()
302 const f32 width = glyph.widths.glyphWidth * m_Scale.x; in PrintGlyph()
303 const f32 height = - glyph.height * m_Scale.y; in PrintGlyph()
339 NN_NULL_ASSERT(glyph.pTextureObject); in PrintGlyph()
340 pCharAttrs->pTexObj = glyph.pTextureObject; in PrintGlyph()
345 const f32 posRight = posLeft + glyph.widths.glyphWidth * m_Scale.x; in PrintGlyph()
348 const f32 posBottom = y + glyph.height * m_Scale.y; in PrintGlyph()
350 const f32 posTop = y + glyph.height * m_Scale.y; in PrintGlyph()
401 LoadTexture(glyph); in PrintGlyph()
431 CharWriter::LoadTexture(const Glyph& glyph) in LoadTexture() argument
433 NN_POINTER_ASSERT(&glyph); in LoadTexture()
438 if (NULL == glyph.pTextureObject) in LoadTexture()
441 doLoad = m_pTextWriterResource->SetLoadingTexture(glyph.pTexture); in LoadTexture()
445 texName = glyph.pTextureObject->GetName(); in LoadTexture()
449 const_cast<internal::TextureObject*>(glyph.pTextureObject)->SetName(texName); in LoadTexture()
454 doLoad = 0 != glyph.isSheetUpdated; // 強制ロード in LoadTexture()
466 glyph.texWidth, in LoadTexture()
467 glyph.texHeight, in LoadTexture()
468 glyph.texFormat, in LoadTexture()
469 glyph.pTexture, in LoadTexture()