Ignore:
Timestamp:
Aug 21, 2008, 2:10:16 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Implement pipi_vflip() and pipi_hflip().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/src/pipi.c

    r2747 r2749  
    108108                return EXIT_FAILURE;
    109109        }
     110        else if(!strcmp(argv[0], "--hflip"))
     111        {
     112            if(pipi_command(ctx, "hflip") != 0)
     113                return EXIT_FAILURE;
     114        }
     115        else if(!strcmp(argv[0], "--vflip"))
     116        {
     117            if(pipi_command(ctx, "vflip") != 0)
     118                return EXIT_FAILURE;
     119        }
    110120        else if(!strcmp(argv[0], "--invert"))
    111121        {
Note: See TracChangeset for help on using the changeset viewer.