Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/mi/
H A Dmifillarc.c51 #define Dcos(d) cos((double)d*(M_PI/11520.0)) macro
210 d_dx = Dcos(angle) * width; in miEllipseAngleToSlope()
358 x1 = Dcos(angle1) * w2; in miFillArcSliceSetup()
371 x2 = Dcos(angle2) * w2; in miFillArcSliceSetup()
H A Dmizerarc.c62 #define Dcos(d) ((d) == 0 ? 1.0 : ((d) == QUADRANT ? 0.0 : \ macro
219 start.x = Dcos(startAngle) * ((arc->width + 1) / 2.0); in miZeroArcSetup()
233 end.x = Dcos(endAngle) * ((arc->width + 1) / 2.0); in miZeroArcSetup()
H A Dmiarc.c1546 #define Dcos(d) ((d) == 0.0 ? 1.0 : ((d) == 90.0 ? 0.0 : cos(d*M_PI/180.0))) macro
2673 ellipsex.min = Dcos(def->a0) * def->w; in computeBound()
2677 ellipsex.max = Dcos(def->a1) * def->w; in computeBound()