IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2005, 7:18:20 PM (21 years ago)
Author:
desonia
Message:

fixes to psRegion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psPixels.c

    r3974 r3977  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.1 $
     7 *  @version $Revision: 1.2 $
    88 *           $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-05-19 02:57:03 $
     9 *  @date $Date: 2005-05-19 05:18:20 $
    1010 *
    1111 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    328328    pixels->n = 10;
    329329
    330     psImage* mask = psPixelsToMask(NULL,pixels,(psRegion) {
    331                                        0,10,0,10
    332                                    }
    333                                    ,1);
     330    psImage* mask = psPixelsToMask(NULL,pixels, psRegionSet(0,10,0,10), 1);
    334331
    335332    if (mask == NULL) {
     
    358355
    359356    // test when input psPixels is NULL.
    360     mask = psPixelsToMask(mask, NULL, (psRegion) {
    361                               0,10,0,10
    362                           }
    363                           ,1);
     357    mask = psPixelsToMask(mask, NULL, psRegionSet(0,10,0,10), 1);
    364358    if (mask != NULL) {
    365359        psError(PS_ERR_UNKNOWN, true,
Note: See TracChangeset for help on using the changeset viewer.