Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_canvas.h76 void lv_canvas_set_buffer(lv_obj_t * canvas, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf…
85 void lv_canvas_set_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c);
97 void lv_canvas_set_palette(lv_obj_t * canvas, uint8_t id, lv_color_t c);
105 void lv_canvas_set_style(lv_obj_t * canvas, lv_canvas_style_t type, const lv_style_t * style);
118 lv_color_t lv_canvas_get_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y);
125 lv_img_dsc_t * lv_canvas_get_img(lv_obj_t * canvas);
133 const lv_style_t * lv_canvas_get_style(const lv_obj_t * canvas, lv_canvas_style_t type);
149 void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coo…
173 void lv_canvas_fill_bg(lv_obj_t * canvas, lv_color_t color);
184 void lv_canvas_draw_rect(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h,
[all …]
A Dlv_canvas.c122 lv_img_set_src(canvas, &ext->dsc); in lv_canvas_set_buffer()
137 lv_obj_invalidate(canvas); in lv_canvas_set_px()
155 lv_obj_invalidate(canvas); in lv_canvas_set_palette()
195 lv_img_dsc_t * lv_canvas_get_img(lv_obj_t * canvas) in lv_canvas_get_img() argument
423 lv_obj_invalidate(canvas); in lv_canvas_rotate()
433 lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); in lv_canvas_fill_bg()
456 lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); in lv_canvas_draw_rect()
515 lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); in lv_canvas_draw_text()
569 lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); in lv_canvas_draw_img()
622 lv_img_dsc_t * dsc = lv_canvas_get_img(canvas); in lv_canvas_draw_line()
[all …]
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dmisc_raytrace.py135 def trace_scene(canvas, view, scene, max_depth): argument
136 for v in range(canvas.height):
137 y = (-v + 0.5 * (canvas.height - 1)) * view.height / canvas.height
138 for u in range(canvas.width):
139 x = (u - 0.5 * (canvas.width - 1)) * view.width / canvas.width
142 canvas.put_pix(u, v, c)
224 canvas = Canvas(w, h)
240 trace_scene(canvas, view, scene, d)
241 return canvas
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenmouse.c87 var canvas = document.createElement("canvas"); in Emscripten_CreateCursor()
88 canvas.width = w; in Emscripten_CreateCursor()
89 canvas.height = h; in Emscripten_CreateCursor()
91 var ctx = canvas.getContext("2d"); in Emscripten_CreateCursor()
121 ? "url(" + canvas.toDataURL() + "), auto" in Emscripten_CreateCursor()
122 : "url(" + canvas.toDataURL() + ") " + hot_x + " " + hot_y + ", auto"; in Emscripten_CreateCursor()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DREADME.webp_js35 bitstream into a canvas. See webp_js/index.html for a simple usage sample
A DREADME.mux85 Background color of the canvas.
A DChangeLog569 a4a8e5f3 vwebp: clear canvas during resize w/o animation
570 67c25ad5 vwebp: clear canvas during resize w/o animation
946 f25c4406 WebPAnimEncoder: Restore original canvas between multiple encodes.
976 e3912d56 WebPAnimEncoder: Restore canvas before evaluating blending possibility.
1482 1579de3c vwebp: clear canvas at the beginning of each loop
1584 29ed796c Merge "AnimEncoder lib cleanup: prev to prev canvas not needed."
1590 ae1c046e AnimEncoder lib cleanup: prev to prev canvas not needed.
1901 1b6a2635 Merge "Fix handling of weird GIF with canvas dimension 0x0"
1903 1582e402 Fix handling of weird GIF with canvas dimension 0x0
2450 e84c625d Merge "Detect canvas and image size mismatch in decoder."
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/
A Danim_encode.c1418 WebPPicture* const canvas) { in DecodeFrameOntoCanvas() argument
1423 WebPUtilClearPic(canvas, NULL); in DecodeFrameOntoCanvas()
1428 if (!WebPPictureView(canvas, frame->x_offset, frame->y_offset, in DecodeFrameOntoCanvas()

Completed in 18 milliseconds