Changeset 6750 for trunk/psLib/src/imageops/psImageGeomManip.c
- Timestamp:
- Mar 31, 2006, 4:43:57 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageGeomManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageGeomManip.c
r6484 r6750 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 2-24 23:43:15$12 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-04-01 02:43:57 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 749 749 col0 = region.x0; 750 750 col1 = region.x1; 751 //If [0,0,0,0] specified, the whole image is to be included 752 if (row0 == 0 && col0 == 0 && row1 == 0 && col1 == 0) { 753 row0 = input->row0; 754 col0 = input->col0; 755 row1 = input->row0 + input->numRows; 756 col1 = input->col0 + input->numCols; 757 } 751 758 if (col1 < 1) { 752 col1 += input-> numCols;759 col1 += input->col0 + input->numCols; 753 760 } 754 761 755 762 if (row1 < 1) { 756 row1 += input-> numRows;763 row1 += input->row0 + input->numRows; 757 764 } 758 765
Note:
See TracChangeset
for help on using the changeset viewer.
