Lines Matching refs:w
79 lv_coord_t w = lv_area_get_width(&draw_area), h = lv_area_get_height(&draw_area); in lv_draw_sdl_polygon() local
81 …texture = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_ID_STREAM1, w, h, in lv_draw_sdl_polygon()
89 SDL_Rect srcrect = {0, 0, w, h}, dstrect; in lv_draw_sdl_polygon()
108 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in dump_masks() local
109 SDL_assert(w > 0 && h > 0); in dump_masks()
110 SDL_Rect rect = {0, 0, w, h}; in dump_masks()
115 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks()
117 lv_memset_ff(line_buf, rect.w); in dump_masks()
118 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks()
122 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks()
125 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks()
128 for(int x = 0; x < rect.w; x++) { in dump_masks()