Changeset 4457 for trunk/psLib/src/collections/psPixels.h
- Timestamp:
- Jul 5, 2005, 5:04:35 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psPixels.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psPixels.h
r4401 r4457 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 6-27 20:38:12$9 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-07-06 03:04:35 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 24 24 typedef struct 25 25 { 26 psS32 x;///< x coordinate27 psS32 y;///< y coordinate26 int x; ///< x coordinate 27 int y; ///< y coordinate 28 28 } 29 29 psPixelCoord; … … 41 41 typedef struct 42 42 { 43 int n;///< Number in usa44 int nalloc;///< Number allocated43 long n; ///< Number in usa 44 long nalloc; ///< Number allocated 45 45 psPixelCoord* data; ///< The pixel coordinates 46 void *lock; ///< Option lock for thread safety 46 47 } 47 48 psPixels; … … 53 54 */ 54 55 psPixels* psPixelsAlloc( 55 psU32 nalloc ///< the size of the coordinate vectors 56 ); 56 long nalloc ///< the size of the coordinate vectors 57 ) 58 ; 57 59 58 60 /** resizes a psPixels structure … … 62 64 psPixels* psPixelsRealloc( 63 65 psPixels* pixels, ///< psPixels to resize, or NULL to create new psPixels 64 psU32nalloc ///< the size of the coordinate vectors66 long nalloc ///< the size of the coordinate vectors 65 67 ); 66 68 … … 71 73 psPixels* p_psPixelsAppend( 72 74 psPixels* pixels, ///< psPixels to append new coordinate to. NULL creates a new one. 73 intgrowth, ///< number of elements to grow the psPixels list, if necessary. if growth < 1, 10 is used.74 psS32 x,///< x coordinate to append75 psS32 y///< y coordinate to append75 long growth, ///< number of elements to grow the psPixels list, if necessary. if growth < 1, 10 is used. 76 int x, ///< x coordinate to append 77 int y ///< y coordinate to append 76 78 ); 77 79 … … 138 140 139 141 /** Prints a psPixels to specified destination. 140 * 142 * 141 143 * @return bool: True if successful. 142 144 */
Note:
See TracChangeset
for help on using the changeset viewer.
