Index: trunk/psLib/src/image/psPixels.h
===================================================================
--- trunk/psLib/src/image/psPixels.h	(revision 3746)
+++ trunk/psLib/src/image/psPixels.h	(revision 3760)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-22 00:06:41 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-22 23:56:04 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -20,4 +20,11 @@
 /// @addtogroup Image
 /// @{
+
+typedef struct
+{
+    psS32 x;
+    psS32 y;
+}
+psPixelCoord;
 
 /** list of pixel coordinates
@@ -33,6 +40,7 @@
 typedef struct
 {
-    psVector *x;                       ///< x coordinate
-    psVector *y;                       ///< y coordinate
+    int n;
+    int nalloc;
+    psPixelCoord* data;
 }
 psPixels;
@@ -54,4 +62,16 @@
     psPixels* pixels,                  ///< psPixels to resize, or NULL to create new psPixels
     int size                           ///< the size of the coordinate vectors
+);
+
+/** Copies a psPixels object
+ *
+ *  Makes a deep copy of the data in a psPixels object.  Any data in the OUT
+ *  parameter will be destroyed and OUT will be resized, if necessary.
+ *
+ *  @return psPixels*   a new psPixels that is a duplicate to IN
+ */
+psPixels* psPixelsCopy(
+    psPixels* out,                     ///< psPixels struct to recycle, or NULL
+    const psPixels* in                 ///< psPixels struct to copy
 );
 
