Lines Matching refs:font

97 InitShaders(nw::font::RectDrawer* pDrawer)  in InitShaders()
111 nw::font::RectDrawer::GetVertexBufferCommandBufferSize(shaderBinary, fileSize); in InitShaders()
135 const nw::font::ColorBufferInfo colBufInfo = { height, width, PICA_DATA_DEPTH24_STENCIL8_EXT }; in InitDraw()
203 nw::font::ResFont* pFont, in InitFont()
216 void* buffer = DevMemAlloc(fileSize, nw::font::GlyphDataAlignment); in InitFont()
240 const u32 drawBufferSize = nw::font::ResFont::GetDrawBufferSize(buffer); in InitFont()
254 CleanupFont(nw::font::ResFont* pFont) in CleanupFont()
283 nw::font::DispStringBuffer*
286 const u32 DrawBufferSize = nw::font::CharWriter::GetDispStringBufferSize(charMax); in AllocDispStringBuffer()
290 return nw::font::CharWriter::InitDispStringBuffer(bufMem, charMax); in AllocDispStringBuffer()
302 nw::font::RectDrawer* pDrawer, in SetupTextCamera()
340 nw::font::RectDrawer* pDrawer, in DrawAscii()
341 nw::font::DispStringBuffer* pDrawStringBuf, in DrawAscii()
342 nw::font::ResFont* pFont, in DrawAscii()
347 nw::font::TextWriter writer; in DrawAscii()
398 nw::font::RectDrawer* pDrawer, in DrawCounter()
399 nw::font::DispStringBuffer* pDrawStringBuf, in DrawCounter()
400 nw::font::ResFont* pFont, in DrawCounter()
405 nw::font::TextWriter writer; in DrawCounter()
455 nw::font::ResFont font; in nnMain() local
459 bool bSuccess = InitFont(&font, NW_DEMO_FILE_PATH(L"tahoma.bcfnt")); in nnMain()
464 nw::font::RectDrawer drawer; in nnMain()
469 nw::font::DispStringBuffer *const pDrawStringBuf0 = AllocDispStringBuffer(512); in nnMain()
470 nw::font::DispStringBuffer *const pDrawStringBuf1 = AllocDispStringBuffer(128); in nnMain()
485 … DrawAscii(&drawer, pDrawStringBuf0, &font, demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
494 … DrawCounter(&drawer, pDrawStringBuf1, &font, demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
509 CleanupFont(&font); in nnMain()