Home
last modified time | relevance | path

Searched refs:cangle (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_rotate.h29 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle);
30 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
A DSDL_rotate.c110 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument
120 *cangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig()
125 *cangle = angle90 == 0 ? 1 : -1; in SDLgfx_rotozoomSurfaceSizeTrig()
137 *cangle = SDL_cos(radangle); in SDLgfx_rotozoomSurfaceSizeTrig()
140 cx = *cangle * x; in SDLgfx_rotozoomSurfaceSizeTrig()
141 cy = *cangle * y; in SDLgfx_rotozoomSurfaceSizeTrig()
417 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument
444 cangleinv = cangle*65536.0; in SDLgfx_rotateSurface()
A DSDL_render_sw.c347 double cangle, sangle, px, py, p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in SW_RenderCopyEx() local
449 …fx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &sangle); in SW_RenderCopyEx()
456 …urface(mask, angle, dstwidth/2, dstheight/2, SDL_FALSE, 0, 0, dstwidth, dstheight, cangle, sangle); in SW_RenderCopyEx()
471 p1x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx()
472 p1y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx()
477 p2x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx()
478 p2y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx()
483 p3x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx()
484 p3y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx()
489 p4x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx()
[all …]

Completed in 6 milliseconds