Lines Matching refs:SIN
138 double COS, SIN, x0p, y0p, x1p, y1p, pcx0, pcy0, pcx1, pcy1; in find_ellipses() local
142 COS = cos(rot); SIN = sin(rot); in find_ellipses()
145 x0p = (x0*COS + y0*SIN)/rh; in find_ellipses()
146 y0p = (-x0*SIN + y0*COS)/rv; in find_ellipses()
147 x1p = (x1*COS + y1*SIN)/rh; in find_ellipses()
148 y1p = (-x1*SIN + y1*COS)/rv; in find_ellipses()
157 *cx0 = pcx0*COS - pcy0*SIN; in find_ellipses()
158 *cy0 = pcx0*SIN + pcy0*COS; in find_ellipses()
159 *cx1 = pcx1*COS - pcy1*SIN; in find_ellipses()
160 *cy1 = pcx1*SIN + pcy1*COS; in find_ellipses()
167 double COS, SIN, rot, x0p, y0p, x1p, y1p; in try_to_fix_radii() local
174 COS = cos(rot); SIN = sin(rot); in try_to_fix_radii()
178 x0p = (arc->x1*COS + arc->y1*SIN)/arc->a; in try_to_fix_radii()
179 y0p = (-arc->x1*SIN + arc->y1*COS)/arc->b; in try_to_fix_radii()
180 x1p = (arc->x2*COS + arc->y2*SIN)/arc->a; in try_to_fix_radii()
181 y1p = (-arc->x2*SIN + arc->y2*COS)/arc->b; in try_to_fix_radii()