Changeset 12815 for trunk/psLib
- Timestamp:
- Apr 12, 2007, 8:55:33 AM (19 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
imageops/psImageGeomManip.c (modified) (2 diffs)
-
types/psPixels.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageGeomManip.c
r12745 r12815 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2007-04- 05 00:17:29$12 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2007-04-12 18:55:10 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 745 745 // create the output image. 746 746 output = psImageRecycle(output, numCols, numRows, input->type.type); 747 output->col0 = region.x0;748 output->row0 = region.y0;747 P_PSIMAGE_SET_COL0(output, region.x0); 748 P_PSIMAGE_SET_ROW0(output, region.y0); 749 749 } else { // size of output is determined by output parameter 750 750 numRows = output->numRows; -
trunk/psLib/src/types/psPixels.c
r12330 r12815 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 3-08 22:12:56$9 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-04-12 18:55:33 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 211 211 return NULL; 212 212 } 213 *(psS32*)&out->row0 = (int)y0;214 *(psS32*)&out->col0 = (int)x0;213 P_PSIMAGE_SET_COL0(out, (int)x0); 214 P_PSIMAGE_SET_ROW0(out, (int)y0); 215 215 216 216 // initialize image to all zeros
Note:
See TracChangeset
for help on using the changeset viewer.
