Lines Matching refs:dAngle
347 gdImagePtr gdImageRotate45 (gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) in gdImageRotate45() argument
358 dRadAngle = dAngle * ROTATE_DEG2RAD; /* Angle in radians */ in gdImageRotate45()
382 if (dAngle == 0.0) { in gdImageRotate45()
399 dRadAngle = dAngle * ROTATE_DEG2RAD; /* Angle in radians */ in gdImageRotate45()
505 gdImagePtr gdImageRotate (gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) in gdImageRotate() argument
518 while (dAngle >= 360.0) { in gdImageRotate()
519 dAngle -= 360.0; in gdImageRotate()
522 while (dAngle < 0) { in gdImageRotate()
523 dAngle += 360.0; in gdImageRotate()
526 if (dAngle == 90.00) { in gdImageRotate()
529 if (dAngle == 180.00) { in gdImageRotate()
532 if(dAngle == 270.00) { in gdImageRotate()
536 if ((dAngle > 45.0) && (dAngle <= 135.0)) { in gdImageRotate()
538 dAngle -= 90.0; in gdImageRotate()
539 } else if ((dAngle > 135.0) && (dAngle <= 225.0)) { in gdImageRotate()
541 dAngle -= 180.0; in gdImageRotate()
542 } else if ((dAngle > 225.0) && (dAngle <= 315.0)) { in gdImageRotate()
544 dAngle -= 270.0; in gdImageRotate()
546 return gdImageRotate45 (src, dAngle, clrBack, ignoretransparent); in gdImageRotate()
553 rotatedImg = gdImageRotate45 (pMidImg, dAngle, clrBack, ignoretransparent); in gdImageRotate()