Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 25 of 67) sorted by relevance

123

/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_math.c49 int16_t lv_trigo_sin(int16_t angle) in lv_trigo_sin() argument
52 angle = angle % 360; in lv_trigo_sin()
54 if(angle < 0) angle = 360 + angle; in lv_trigo_sin()
56 if(angle < 90) { in lv_trigo_sin()
57 ret = sin0_90_table[angle]; in lv_trigo_sin()
58 } else if(angle >= 90 && angle < 180) { in lv_trigo_sin()
59 angle = 180 - angle; in lv_trigo_sin()
60 ret = sin0_90_table[angle]; in lv_trigo_sin()
61 } else if(angle >= 180 && angle < 270) { in lv_trigo_sin()
62 angle = angle - 180; in lv_trigo_sin()
[all …]
A Dlv_math.h44 int16_t lv_trigo_sin(int16_t angle);
/AliOS-Things-master/components/freetype/src/autofit/
A Dafangles.c108 AF_Angle angle;
121 angle = 0;
128 angle = AF_ANGLE_PI - angle;
130 angle = -AF_ANGLE_PI - angle;
134 return angle;
187 AF_Angle angle; in af_angle_atan() local
193 angle = 0; in af_angle_atan()
196 return angle; in af_angle_atan()
203 return angle; in af_angle_atan()
206 angle = 0; in af_angle_atan()
[all …]
/AliOS-Things-master/components/freetype/include/
A Dfttrigon.h124 FT_Sin( FT_Angle angle );
148 FT_Cos( FT_Angle angle );
168 FT_Tan( FT_Angle angle );
245 FT_Angle angle );
267 FT_Angle angle );
314 FT_Angle *angle );
340 FT_Angle angle );
/AliOS-Things-master/components/freetype/src/base/
A Dfttrigon.c278 FT_Cos( FT_Angle angle ) in FT_Cos() argument
285 ft_trig_pseudo_rotate( &v, angle ); in FT_Cos()
294 FT_Sin( FT_Angle angle ) in FT_Sin() argument
303 FT_Tan( FT_Angle angle ) in FT_Tan() argument
310 ft_trig_pseudo_rotate( &v, angle ); in FT_Tan()
341 FT_Angle angle ) in FT_Vector_Unit() argument
345 ft_trig_pseudo_rotate( vec, angle ); in FT_Vector_Unit()
363 FT_Angle angle ) in FT_Vector_Rotate() argument
375 ft_trig_pseudo_rotate( &v, angle ); in FT_Vector_Rotate()
454 *angle = v.y; in FT_Vector_Polarize()
[all …]
A Dftstroke.c543 angle = angle_start; in ft_stroke_border_arcto()
555 next = angle + step; in ft_stroke_border_arcto()
587 angle = next; in ft_stroke_border_arcto()
904 FT_Angle angle, in ft_stroker_cap() argument
913 stroker->angle_in = angle; in ft_stroker_cap()
914 stroker->angle_out = angle + FT_ANGLE_PI; in ft_stroker_cap()
928 FT_Vector_From_Polar( &delta, radius, angle ); in ft_stroker_cap()
1285 FT_Angle angle; in FT_Stroker_LineTo() local
1300 angle = FT_Atan2( delta.x, delta.y ); in FT_Stroker_LineTo()
1316 stroker->angle_out = angle; in FT_Stroker_LineTo()
[all …]
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_rotozoom.h79 …SDL_ROTOZOOM_SCOPE SDL_Surface *rotozoomSurface(SDL_Surface * src, double angle, double zoom, int …
82 (SDL_Surface * src, double angle, double zoomx, double zoomy, int smooth);
85 …SDL_ROTOZOOM_SCOPE void rotozoomSurfaceSize(int width, int height, double angle, double zoom, int …
89 (int width, int height, double angle, double zoomx, double zoomy,
A DSDL_rotozoom.c949 void _rotozoomSurfaceSizeTrig(int width, int height, double angle, double zoomx, double zoomy, in _rotozoomSurfaceSizeTrig() argument
960 radangle = angle * (M_PI / 180.0); in _rotozoomSurfaceSizeTrig()
991 void rotozoomSurfaceSizeXY(int width, int height, double angle, double zoomx, double zoomy, int *ds… in rotozoomSurfaceSizeXY() argument
995 …_rotozoomSurfaceSizeTrig(width, height, angle, zoomx, zoomy, dstwidth, dstheight, &dummy_sanglezoo… in rotozoomSurfaceSizeXY()
1008 void rotozoomSurfaceSize(int width, int height, double angle, double zoom, int *dstwidth, int *dsth… in rotozoomSurfaceSize() argument
1012 …_rotozoomSurfaceSizeTrig(width, height, angle, zoom, zoom, dstwidth, dstheight, &dummy_sanglezoom,… in rotozoomSurfaceSize()
1030 SDL_Surface *rotozoomSurface(SDL_Surface * src, double angle, double zoom, int smooth) in rotozoomSurface() argument
1032 return rotozoomSurfaceXY(src, angle, zoom, zoom, smooth); in rotozoomSurface()
1051 SDL_Surface *rotozoomSurfaceXY(SDL_Surface * src, double angle, double zoomx, double zoomy, int smo… in rotozoomSurfaceXY() argument
1124 if (fabs(angle) > VALUE_LIMIT) { in rotozoomSurfaceXY()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestgamecontroller.c55 static const struct { int x; int y; double angle; } axis_positions[] = { member
187 const double angle = axis_positions[i].angle; in loop() local
188 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop()
191 const double angle = axis_positions[i].angle + 180.0; in loop() local
192 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, SDL_FLIP_NONE); in loop()
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_lmeter.c160 void lv_lmeter_set_scale(lv_obj_t * lmeter, uint16_t angle, uint8_t line_cnt) in lv_lmeter_set_scale() argument
163 if(ext->scale_angle == angle && ext->line_cnt == line_cnt) return; in lv_lmeter_set_scale()
165 ext->scale_angle = angle; in lv_lmeter_set_scale()
284 int16_t angle = (i * ext->scale_angle) / (ext->line_cnt - 1) + angle_ofs; in lv_lmeter_design() local
286 lv_coord_t y_out = (int32_t)((int32_t)lv_trigo_sin(angle) * r_out) >> LV_TRIGO_SHIFT; in lv_lmeter_design()
287 … lv_coord_t x_out = (int32_t)((int32_t)lv_trigo_sin(angle + 90) * r_out) >> LV_TRIGO_SHIFT; in lv_lmeter_design()
288 lv_coord_t y_in = (int32_t)((int32_t)lv_trigo_sin(angle) * r_in) >> LV_TRIGO_SHIFT; in lv_lmeter_design()
289 … lv_coord_t x_in = (int32_t)((int32_t)lv_trigo_sin(angle + 90) * r_in) >> LV_TRIGO_SHIFT; in lv_lmeter_design()
A Dlv_gauge.c194 void lv_gauge_set_scale(lv_obj_t * gauge, uint16_t angle, uint8_t line_cnt, uint8_t label_cnt) in lv_gauge_set_scale() argument
196 lv_lmeter_set_scale(gauge, angle, line_cnt); in lv_gauge_set_scale()
361 int16_t angle = (i * scale_angle) / (label_num - 1) + angle_ofs; in lv_gauge_draw_scale() local
363 lv_coord_t y = (int32_t)((int32_t)lv_trigo_sin(angle) * r) / LV_TRIGO_SIN_MAX; in lv_gauge_draw_scale()
366 lv_coord_t x = (int32_t)((int32_t)lv_trigo_sin(angle + 90) * r) / LV_TRIGO_SIN_MAX; in lv_gauge_draw_scale()
402 uint16_t angle = lv_lmeter_get_scale_angle(gauge); in lv_gauge_draw_needle() local
403 int16_t angle_ofs = 90 + (360 - angle) / 2; in lv_gauge_draw_needle()
419 (ext->values[i] - min) * angle * (1 << LV_GAUGE_INTERPOLATE_SHIFT) / (max - min); in lv_gauge_draw_needle()
A Dlv_lmeter.h89 void lv_lmeter_set_scale(lv_obj_t * lmeter, uint16_t angle, uint8_t line_cnt);
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_rotate.c108 SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, in SDLgfx_rotozoomSurfaceSizeTrig() argument
113 int angle90 = (int)(angle/90); in SDLgfx_rotozoomSurfaceSizeTrig()
114 if(angle90 == angle/90) { /* if the angle is a multiple of 90 degrees */ in SDLgfx_rotozoomSurfaceSizeTrig()
135 … radangle = angle * (M_PI / -180.0); /* reverse the angle because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig()
156 computeSourceIncrements90(SDL_Surface * src, int bpp, int angle, int flipx, int flipy, in computeSourceIncrements90() argument
163 switch (angle) { /* 0:0 deg, 1:90 deg, 2:180 deg, 3:270 deg */ in computeSourceIncrements90()
182 …computeSourceIncrements90(src, sizeof(pixelType), angle, flipx, flipy, &sincx, &sincy, &signx, &si…
199 transformSurfaceRGBA90(SDL_Surface * src, SDL_Surface * dst, int angle, int flipx, int flipy) in transformSurfaceRGBA90() argument
205 transformSurfaceY90(SDL_Surface * src, SDL_Surface * dst, int angle, int flipx, int flipy) in transformSurfaceY90() argument
503 angle90 = (int)(angle/90); in SDLgfx_rotateSurface()
[all …]
A DSDL_rotate.h29 extern SDL_Surface *SDLgfx_rotateSurface(SDL_Surface * src, double angle, int centerx, int centery,…
30 extern void SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int …
A DSDL_render_sw.c301 double angle; member
309 const double angle, const SDL_FPoint *center, const SDL_RendererFlip flip) in SW_QueueCopyEx() argument
330 verts->angle = angle; in SW_QueueCopyEx()
340 const double angle, const SDL_FPoint * center, const SDL_RendererFlip flip) in SW_RenderCopyEx() argument
449 …SDLgfx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &san… in SW_RenderCopyEx()
450 …src_rotated = SDLgfx_rotateSurface(src_clone, angle, dstwidth/2, dstheight/2, (texture->scaleMode … in SW_RenderCopyEx()
456 …mask_rotated = SDLgfx_rotateSurface(mask, angle, dstwidth/2, dstheight/2, SDL_FALSE, 0, 0, dstwidt… in SW_RenderCopyEx()
734 … &copydata->dstrect, copydata->angle, &copydata->center, copydata->flip); in SW_RunCommandQueue()
/AliOS-Things-master/components/py_engine/tests/pyb/
A Dservo.py6 servo.angle(0)
7 servo.angle(10, 100)
/AliOS-Things-master/components/freetype/src/tools/
A Dcordic.py17 angle = math.atan(x) # arctangent variable
18 angle2 = round(angle*scale) # arctangent in FT_Angle units
/AliOS-Things-master/components/ucloud_ai/
A DREADME.md339 faceRectangle.angle: -87.3476
393 0text angle: -9
400 1text angle: -10
407 2text angle: -9
414 3text angle: -9
421 4text angle: -9
428 5text angle: -9
435 6text angle: -9
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ocr/include/alibabacloud/ocr/model/
A DRecognizeCharacterResult.h42 int angle; member
A DRecognizeTaxiInvoiceResult.h61 float angle; member
A DRecognizeBusinessLicenseResult.h76 float angle; member
A DRecognizeIdentityCardResult.h52 float angle; member
/AliOS-Things-master/components/ucloud_ai/include/model/
A Docr.h43 int angle; member
/AliOS-Things-master/components/ucloud_ai/src/model/
A Docr.cc46 …cout << "faceRectangle.angle: " << outcome.result().getData().frontResult.faceRectangle.angle << e… in recognizeIdentityCardFaceSide()
198 … cout << i << "text angle: " << outcome.result().getData().results[i].textRectangles.angle << endl; in recognizeCharacter()
206 result.character.angle = outcome.result().getData().results[i].textRectangles.angle; in recognizeCharacter()
/AliOS-Things-master/components/SDL2/docs/
A DREADME-windows.md20 https://chromium.googlesource.com/angle/angle or copy the relevant binaries from

Completed in 34 milliseconds

123