Home
last modified time | relevance | path

Searched refs:_CANVAS_HEIGHT (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/examples/widgets/canvas/
Dlv_example_canvas_1.py2 _CANVAS_HEIGHT = 150 variable
23 cbuf = bytearray(_CANVAS_WIDTH * _CANVAS_HEIGHT * 4)
26 canvas.set_buffer(cbuf, _CANVAS_WIDTH, _CANVAS_HEIGHT, lv.img.CF.TRUE_COLOR)
40 img.header.h = _CANVAS_HEIGHT
43 canvas.transform(img, 30, LV_IMG_ZOOM_NONE, 0, 0, _CANVAS_WIDTH // 2, _CANVAS_HEIGHT // 2, True)