Lines Matching refs:writer
347 nw::font::TextWriter writer; in DrawAscii() local
348 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
349 writer.SetFont(pFont); in DrawAscii()
351 writer.SetCursor(0, 0); in DrawAscii()
356 writer.StartPrint(); in DrawAscii()
357 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
358 (void)writer.Print("\n"); in DrawAscii()
361 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
362 (void)writer.Print("\n"); in DrawAscii()
363 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
364 (void)writer.Print("0123456789:;<=>?\n"); in DrawAscii()
365 (void)writer.Print("@ABCDEFGHIJKLMNO\n"); in DrawAscii()
366 (void)writer.Print("PQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
367 (void)writer.Print("`abcdefghijklmno\n"); in DrawAscii()
368 (void)writer.Print("pqrstuvwxyz{|}~\n"); in DrawAscii()
369 writer.EndPrint(); in DrawAscii()
370 pDrawer->BuildTextCommand(&writer); in DrawAscii()
376 writer.SetTextColor(nw::ut::Color8(s_Color, 255, s_Color, 255)); in DrawAscii()
382 writer.UseCommandBuffer(); in DrawAscii()
405 nw::font::TextWriter writer; in DrawCounter() local
406 writer.SetDispStringBuffer(pDrawStringBuf); in DrawCounter()
407 writer.SetFont(pFont); in DrawCounter()
409 writer.SetCursor(0, 0); in DrawCounter()
410 writer.SetFixedWidth(8.0f); in DrawCounter()
411 writer.EnableFixedWidth(true); in DrawCounter()
418 writer.StartPrint(); in DrawCounter()
419 (void)writer.Printf("Counter : %d\n", s_Counter); in DrawCounter()
420 writer.EndPrint(); in DrawCounter()
421 pDrawer->BuildTextCommand(&writer); in DrawCounter()
422 writer.UseCommandBuffer(); in DrawCounter()
425 writer.StartPrint(); in DrawCounter()
426 (void)writer.Printf("Counter 1/60 : %d\n", s_Counter / 60); in DrawCounter()
427 writer.EndPrint(); in DrawCounter()
428 pDrawer->BuildTextCommand(&writer); in DrawCounter()
429 writer.UseCommandBuffer(); in DrawCounter()