Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_touch.c266 int pos_y = (int)(y * (float)window->h); in SDL_SendTouch() local
269 if (pos_y < 0) pos_y = 0; in SDL_SendTouch()
270 if (pos_y > window->h - 1) pos_y = window->h - 1; in SDL_SendTouch()
271 SDL_SendMouseMotion(window, SDL_TOUCH_MOUSEID, 0, pos_x, pos_y); in SDL_SendTouch()
380 int pos_y = (int)(y * (float)window->h); in SDL_SendTouchMotion() local
383 if (pos_y < 0) pos_y = 0; in SDL_SendTouchMotion()
384 if (pos_y > window->h - 1) pos_y = window->h - 1; in SDL_SendTouchMotion()
385 SDL_SendMouseMotion(window, SDL_TOUCH_MOUSEID, 0, pos_x, pos_y); in SDL_SendTouchMotion()
/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_draw_basic.c256 lv_coord_t pos_y = pos_p->y + (font_p->line_height - font_p->base_line) - g.box_h - g.ofs_y; in lv_draw_letter() local
287 …if(pos_x + g.box_w < mask_p->x1 || pos_x > mask_p->x2 || pos_y + g.box_h < mask_p->y1 || pos_y > m… in lv_draw_letter()
303 lv_coord_t row_start = pos_y >= mask_p->y1 ? 0 : mask_p->y1 - pos_y; in lv_draw_letter()
304 lv_coord_t row_end = pos_y + g.box_h <= mask_p->y2 ? g.box_h : mask_p->y2 - pos_y + 1; in lv_draw_letter()
307 vdb_buf_tmp += ((pos_y - vdb->area.y1) * vdb_width) + pos_x - vdb->area.x1; in lv_draw_letter()
340 … (col + pos_x) - vdb->area.x1, (row + pos_y) - vdb->area.y1, color, px_opa); in lv_draw_letter()
/AliOS-Things-master/components/freetype/src/psaux/
A Dt1decode.c316 decoder->builder.pos_y = ady; in t1operator_seac()
335 decoder->builder.pos_y = 0; in t1operator_seac()
421 y = orig_y = builder->pos_y; in t1_decoder_parse_charstrings()
1144 orig_y = y = builder->pos_y; in t1_decoder_parse_charstrings()
1175 y = builder->pos_y + top[1]; in t1_decoder_parse_charstrings()
A Dpsobjs.c1555 builder->pos_y = 0; in t1_builder_init()
/AliOS-Things-master/components/freetype/src/cff/
A Dcffgload.h91 FT_Pos pos_y; member
A Dcffgload.c290 builder->pos_y = 0; in cff_builder_init()
849 builder->pos_y = ady; in cff_operator_seac()
875 builder->pos_y = 0; in cff_operator_seac()
950 y = builder->pos_y; in cff_decoder_parse_charstrings()
2262 y = decoder->builder.pos_y; in cff_decoder_parse_charstrings()
2279 y = decoder->builder.pos_y + args[1]; in cff_decoder_parse_charstrings()
2291 y = decoder->builder.pos_y + args[1]; in cff_decoder_parse_charstrings()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/aircraftBattle/
A DaircraftBattle.c366 void reload_dfo(dfo_t *craft, int pos_x, int pos_y) in reload_dfo() argument
374 craft->start_y = pos_y; in reload_dfo()
380 if (pos_y == AUTO_RELOAD) { in reload_dfo()
A DaircraftBattle.md358 void reload_dfo(dfo_t *craft, int pos_x, int pos_y)
361 craft->cur_y = craft->pos_y;
368 if (pos_y == AUTO_RELOAD)
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dvwebp.c229 static void HandleKey(unsigned char key, int pos_x, int pos_y) { in HandleKey() argument
234 (void)pos_y; in HandleKey()
/AliOS-Things-master/components/freetype/include/internal/
A Dpsaux.h573 FT_Pos pos_y; member

Completed in 22 milliseconds