Changeset 3760 for trunk/psLib/src/image/psPixels.h
- Timestamp:
- Apr 22, 2005, 1:56:04 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psPixels.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psPixels.h
r3746 r3760 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-22 00:06:41$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-22 23:56:04 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 /// @addtogroup Image 21 21 /// @{ 22 23 typedef struct 24 { 25 psS32 x; 26 psS32 y; 27 } 28 psPixelCoord; 22 29 23 30 /** list of pixel coordinates … … 33 40 typedef struct 34 41 { 35 psVector *x; ///< x coordinate 36 psVector *y; ///< y coordinate 42 int n; 43 int nalloc; 44 psPixelCoord* data; 37 45 } 38 46 psPixels; … … 54 62 psPixels* pixels, ///< psPixels to resize, or NULL to create new psPixels 55 63 int size ///< the size of the coordinate vectors 64 ); 65 66 /** Copies a psPixels object 67 * 68 * Makes a deep copy of the data in a psPixels object. Any data in the OUT 69 * parameter will be destroyed and OUT will be resized, if necessary. 70 * 71 * @return psPixels* a new psPixels that is a duplicate to IN 72 */ 73 psPixels* psPixelsCopy( 74 psPixels* out, ///< psPixels struct to recycle, or NULL 75 const psPixels* in ///< psPixels struct to copy 56 76 ); 57 77
Note:
See TracChangeset
for help on using the changeset viewer.
