Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/mi/
H A Dmifillarc.c173 double d_dx, d_dy, scale; in miEllipseAngleToSlope() local
210 d_dx = Dcos(angle) * width; in miEllipseAngleToSlope()
213 *d_dxp = d_dx / 2.0; in miEllipseAngleToSlope()
217 if (d_dx < 0.0) { in miEllipseAngleToSlope()
218 d_dx = -d_dx; in miEllipseAngleToSlope()
226 scale = d_dx; in miEllipseAngleToSlope()
227 if (d_dy > d_dx) in miEllipseAngleToSlope()
229 dx = floor((d_dx * 32768) / scale + 0.5); in miEllipseAngleToSlope()