/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | framebuf4.py | 41 fbuf.fill_rect(0, 0, w, h, 0x0F) 43 fbuf.fill_rect(0, 0, w, h, 0xF0) 44 fbuf.fill_rect(1, 0, w // 2 + 1, 1, 0xF1) 46 fbuf.fill_rect(1, 0, w // 2 + 1, 1, 0x10) 47 fbuf.fill_rect(1, 0, w // 2, 1, 0xF1) 49 fbuf.fill_rect(1, 0, w // 2, 1, 0x10) 50 fbuf.fill_rect(0, h - 4, w // 2 + 1, 4, 0xAF) 52 fbuf.fill_rect(0, h - 4, w // 2 + 1, 4, 0xB0) 53 fbuf.fill_rect(0, h - 4, w // 2, 4, 0xAF) 55 fbuf.fill_rect(0, h - 4, w // 2, 4, 0xB0)
|
A D | framebuf1.py.exp | 11 fill_rect bytearray(b'\x00\x0e\x0e\x0e\x00\x00\x00\x00\x00\x00') 33 fill_rect bytearray(b'\x00ppp\x00\x00\x00\x00\x00\x00') 55 fill_rect bytearray(b'\x00\x0e\x0e\x0e\x00\x00\x00\x00\x00\x00')
|
A D | framebuf1.py | 62 fbuf.fill_rect(0, 0, 0, 3, 1) # zero width, no-operation 63 fbuf.fill_rect(1, 1, 3, 3, 1)
|
/AliOS-Things-master/components/py_engine/framework/ |
A D | sh1106.py | 42 self.fill_rect = fb.fill_rect 141 def fill_rect(self, x, y, w, h, c): member in SH1106 142 self.fill_rect(x, y, w, h, c)
|
A D | st7789py.py | 374 self.fill_rect(x, y, 1, length, color) 386 self.fill_rect(x, y, length, 1, color) 430 def fill_rect(self, x, y, width, height, color): member in ST7789 459 self.fill_rect(0, 0, self.width, self.height, color)
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modframebuf.c | 70 fill_rect_t fill_rect; member 299 STATIC void fill_rect(const mp_obj_framebuf_t *fb, int x, int y, int w, int h, uint32_t col) { in fill_rect() function 311 formats[fb->format].fill_rect(fb, x, y, xend - x, yend - y, col); in fill_rect() 369 formats[self->format].fill_rect(self, 0, 0, self->width, self->height, col); in framebuf_fill() 384 fill_rect(self, x, y, width, height, col); in framebuf_fill_rect() 416 fill_rect(self, x, y, w, 1, col); in framebuf_hline() 431 fill_rect(self, x, y, 1, h, col); in framebuf_vline() 447 fill_rect(self, x, y, w, 1, col); in framebuf_rect() 448 fill_rect(self, x, y + h - 1, w, 1, col); in framebuf_rect() 449 fill_rect(self, x, y, 1, h, col); in framebuf_rect() [all …]
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr_test.py | 60 mlogo.fill_rect(1, 1, 15, 15, 0xFFFFFF)
|
/AliOS-Things-master/components/amp/modules/ |
A D | sh1106.js | 158 fill_rect(x, y, w, h, color) {
|