Lines Matching refs:fbuf
20 fbuf = framebuf.FrameBuffer(buf, w, h, mapping) variable
23 print(memoryview(fbuf)[0])
26 fbuf.fill(1)
28 fbuf.fill(0)
32 fbuf.pixel(0, 0, 1)
33 fbuf.pixel(4, 0, 1)
34 fbuf.pixel(0, 15, 1)
35 fbuf.pixel(4, 15, 1)
39 fbuf.pixel(4, 15, 0)
43 print(fbuf.pixel(0, 0), fbuf.pixel(1, 1))
46 fbuf.fill(0)
47 fbuf.hline(0, 1, w, 1)
51 fbuf.fill(0)
52 fbuf.vline(1, 0, h, 1)
56 fbuf.fill(0)
57 fbuf.rect(1, 1, 3, 3, 1)
61 fbuf.fill(0)
62 fbuf.fill_rect(0, 0, 0, 3, 1) # zero width, no-operation
63 fbuf.fill_rect(1, 1, 3, 3, 1)
67 fbuf.fill(0)
68 fbuf.line(1, 1, 3, 3, 1)
72 fbuf.fill(0)
73 fbuf.line(3, 3, 2, 1, 1)
77 fbuf.fill(0)
78 fbuf.pixel(2, 7, 1)
79 fbuf.scroll(0, 1)
81 fbuf.scroll(0, -2)
83 fbuf.scroll(1, 0)
85 fbuf.scroll(-1, 0)
87 fbuf.scroll(2, 2)
91 fbuf.fill(0)
92 fbuf.text("hello", 0, 0, 1)
94 fbuf.text("hello", 0, 0, 0) # clear
98 fbuf.text(str(chr(31)), 0, 0)
104 fbuf = framebuf.FrameBuffer(buf, w, h, -1, w)
109 fbuf = framebuf.FrameBuffer1(buf, w, h) variable
110 fbuf = framebuf.FrameBuffer1(buf, w, h, w) variable