Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_draw_arc.c54 void lv_draw_arc(lv_coord_t center_x, lv_coord_t center_y, uint16_t radius, const lv_area_t * mask, in lv_draw_arc() argument
77 hor_line(center_x - r_out + 1, center_y, mask, thickness - 1, color, opa); /*Left Middle*/ in lv_draw_arc()
79 hor_line(center_x + r_in, center_y, mask, thickness - 1, color, opa); /*Right Middle*/ in lv_draw_arc()
81 ver_line(center_x, center_y - r_out + 1, mask, thickness - 1, color, opa); /*Top Middle*/ in lv_draw_arc()
83 ver_line(center_x, center_y + r_in, mask, thickness - 1, color, opa); /*Bottom middle*/ in lv_draw_arc()
140 hor_line(center_x + x_start[0], center_y + yi, mask, x_end[0] - x_start[0], color, opa); in lv_draw_arc()
145 hor_line(center_x + x_start[1], center_y - yi, mask, x_end[1] - x_start[1], color, opa); in lv_draw_arc()
150 …hor_line(center_x - x_end[2], center_y + yi, mask, LV_MATH_ABS(x_end[2] - x_start[2]), color, opa); in lv_draw_arc()
155 …hor_line(center_x - x_end[3], center_y - yi, mask, LV_MATH_ABS(x_end[3] - x_start[3]), color, opa); in lv_draw_arc()
A Dlv_draw_arc.h41 void lv_draw_arc(lv_coord_t center_x, lv_coord_t center_y, uint16_t radius, const lv_area_t * mask,
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c347 int center_x = 0, center_y = 0; local
348 SDL_GetWindowSize(window, &center_x, &center_y);
349 center_x /= 2;
351 if (x == center_x && y == center_y) {
352 mouse->last_x = center_x;
356 SDL_WarpMouseInWindow(window, center_x, center_y);
/AliOS-Things-master/components/py_engine/modules/minicv/base/include/
A DIHaasImageProc.h186 virtual int Circle(const ImageBuffer_t* src, int32_t center_x, int32_t center_y,
/AliOS-Things-master/components/py_engine/modules/minicv/base/modules/c/include/
A DWrapperIHaasImageProc.h50 … int ImageProcCircle(void* instance, const ImageBuffer_t* src, int32_t center_x, int32_t center_y,
/AliOS-Things-master/components/py_engine/modules/minicv/base/modules/c/src/
A DWrapperIHaasImageProc.cpp145 int ImageProcCircle(void* instance, const ImageBuffer_t* src, int32_t center_x, int32_t center_y, in ImageProcCircle() argument
156 int ret = mIHaasImageProc->Circle(src, center_x, center_y, radius); in ImageProcCircle()
/AliOS-Things-master/components/py_engine/modules/minicv/
A Dimageproc.c298 int32_t center_x = (int32_t)mp_obj_get_int(args[2]); in obj_circle() local
301 …LOGD(LOG_TAG, "src = %p;center_x = %d; center_y = %d; radius = %d;\n", src, center_x, center_y, ra… in obj_circle()
303 ret = ImageProcCircle(driver_obj->mInstance, src, center_x, center_y, radius); in obj_circle()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsevents.c549 int center_x = 0, center_y = 0; in WIN_WindowProc() local
550 SDL_GetWindowSize(data->window, &center_x, &center_y); in WIN_WindowProc()
551 center_x /= 2; in WIN_WindowProc()
553 SDL_SendMouseMotion(data->window, 0, 0, center_x, center_y); in WIN_WindowProc()

Completed in 12 milliseconds