Ignore:
Timestamp:
Aug 27, 2008, 2:40:38 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added line to pipi tool (format x1,y1,x2,y2,color,aa, width coordinates as ints, color as hex quadret, aa as an optionnal bit which controls

antialiasing (default: aliased (bracket)))

File:
1 edited

Legend:

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

    r2755 r2781  
    229229                return EXIT_FAILURE;
    230230        }
     231        else if(!strcmp(argv[0], "--line"))
     232        {
     233            if(argv[6] == NULL)
     234                return EXIT_FAILURE;
     235            if(pipi_command(ctx, "line", argv[1]) != 0)
     236                return EXIT_FAILURE;
     237            argv++;
     238        }
    231239        else if(!strcmp(argv[0], "--output") || !strcmp(argv[0], "-o"))
    232240        {
Note: See TracChangeset for help on using the changeset viewer.