Changeset 7524 for trunk/psLib/src/mathtypes
- Timestamp:
- Jun 12, 2006, 10:44:04 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/mathtypes/psImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r7071 r7524 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.10 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-0 5-05 02:48:34$11 * @version $Revision: 1.105 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-06-12 20:43:16 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 85 85 } 86 86 87 *(psS32 *)&image->col0 = 0; 88 *(psS32 *)&image->row0 = 0; 89 *(psU32 *)&image->numCols = numCols; 90 *(psU32 *)&image->numRows = numRows; 91 *(psDimen* ) & image->type.dimen = PS_DIMEN_IMAGE; 92 *(psElemType* ) & image->type.type = type; 87 image->col0 = 0; 88 image->row0 = 0; 89 P_PSIMAGE_SET_NUMCOLS (image, numCols); 90 P_PSIMAGE_SET_NUMROWS (image, numRows); 91 92 psMathType imageType; 93 imageType.dimen = PS_DIMEN_IMAGE; 94 imageType.type = type; 95 P_PSIMAGE_SET_TYPE (image, imageType); 96 93 97 image->parent = NULL; 94 98 image->children = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
