Home
last modified time | relevance | path

Searched refs:sangle (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
121 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig()
126 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig()
136 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig()
142 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig()
143 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig()
417 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument
443 sangleinv = sangle*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()
466 sangle = -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 5 milliseconds