IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2007, 8:55:33 AM (19 years ago)
Author:
magnier
Message:

use macro to set col0,row0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageGeomManip.c

    r12745 r12815  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.40 $ $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 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    745745        // create the output image.
    746746        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);
    749749    } else { // size of output is determined by output parameter
    750750        numRows = output->numRows;
Note: See TracChangeset for help on using the changeset viewer.