Index: trunk/psLib/src/image/psImageManip.c
===================================================================
--- trunk/psLib/src/image/psImageManip.c	(revision 1501)
+++ trunk/psLib/src/image/psImageManip.c	(revision 1508)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-12 02:46:28 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-12 03:05:48 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -552,5 +552,8 @@
 
 psImage* psImageRotate(psImage* out,
-                       const psImage* in, float angle, float unexposedValue, psImageInterpolateMode mode)
+                       const psImage* in,
+                       float angle,
+                       float unexposedValue,
+                       psImageInterpolateMode mode)
 {
     if (in == NULL) {
@@ -702,6 +705,6 @@
         // (x-centerX)*sinT;
 
-        int outCols = (int)(abs(numCols * cosT) + abs(numRows * sinT)) + 1;
-        int outRows = (int)(abs(numCols * sinT) + abs(numRows * cosT)) + 1;
+        int outCols = round(abs(numCols * cosT) + abs(numRows * sinT)) + 1;
+        int outRows = round(abs(numCols * sinT) + abs(numRows * cosT)) + 1;
         float minX = (float)outCols / -2.0f;
         int intMinY = outRows / -2;
