Home
last modified time | relevance | path

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

/PHP-5.3/ext/gd/libgd/
H A Dgd_rotate.c352 double dRadAngle, dSinE, dTan, dShear; in gdImageRotate45() local
360 dTan = tan (dRadAngle / 2.0); in gdImageRotate45()
362 newx = (int)(src->sx + src->sy * fabs(dTan)); in gdImageRotate45()
401 dTan = tan (dRadAngle / 2.0); in gdImageRotate45()
404 if (dTan >= 0.0) { in gdImageRotate45()
405 dShear = ((double)(u + 0.5)) * dTan; in gdImageRotate45()
407 dShear = ((double)(u - dst1->sy) + 0.5) * dTan; in gdImageRotate45()
490 dOffset = (double)(src->sx - 1) * dSinE * -dTan; in gdImageRotate45()
492 dOffset = dTan * ((double)(src->sx - 1) * -dSinE + (double)(1 - newy)); in gdImageRotate45()
495 for (u = 0; u < dst3->sy; u++, dOffset += dTan) { in gdImageRotate45()

Completed in 6 milliseconds