Lines Matching refs:writer
349 nw::font::TextWriter writer; in DrawAscii() local
350 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
351 writer.SetFont(pFont); in DrawAscii()
353 writer.SetCursor(0, 0); in DrawAscii()
358 writer.StartPrint(); in DrawAscii()
359 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
360 (void)writer.Print("\n"); in DrawAscii()
363 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
364 (void)writer.Print("\n"); in DrawAscii()
365 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
366 (void)writer.Print("0123456789:;<=>?\n"); in DrawAscii()
367 (void)writer.Print("@ABCDEFGHIJKLMNO\n"); in DrawAscii()
368 (void)writer.Print("PQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
369 (void)writer.Print("`abcdefghijklmno\n"); in DrawAscii()
370 (void)writer.Print("pqrstuvwxyz{|}~\n"); in DrawAscii()
371 writer.EndPrint(); in DrawAscii()
372 pDrawer->BuildTextCommand(&writer); in DrawAscii()
378 writer.SetTextColor(nw::ut::Color8(s_Color, 255, s_Color, 255)); in DrawAscii()
384 writer.UseCommandBuffer(); in DrawAscii()
407 nw::font::TextWriter writer; in DrawCounter() local
408 writer.SetDispStringBuffer(pDrawStringBuf); in DrawCounter()
409 writer.SetFont(pFont); in DrawCounter()
411 writer.SetCursor(0, 0); in DrawCounter()
412 writer.SetFixedWidth(8.0f); in DrawCounter()
413 writer.EnableFixedWidth(true); in DrawCounter()
420 writer.StartPrint(); in DrawCounter()
421 (void)writer.Printf("Counter : %d\n", s_Counter); in DrawCounter()
422 writer.EndPrint(); in DrawCounter()
423 pDrawer->BuildTextCommand(&writer); in DrawCounter()
424 writer.UseCommandBuffer(); in DrawCounter()
427 writer.StartPrint(); in DrawCounter()
428 (void)writer.Printf("Counter 1/60 : %d\n", s_Counter / 60); in DrawCounter()
429 writer.EndPrint(); in DrawCounter()
430 pDrawer->BuildTextCommand(&writer); in DrawCounter()
431 writer.UseCommandBuffer(); in DrawCounter()