Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3835ad4625413904ece1c996ba7d9a400327127e
Ticket: 1266238fffffffffffffffffffffffffffffffff
Support for complex polygons in canvas
User & Date: agnar on 2005-08-22 14:39:11
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This is a request for support of complex polygons in canvases. 
    
    RATIONALE:
    Such grapic items are common in computer graphics.
    
    SUGGESTED IMPLEMENTATION
    
    Alternative 1: Extend the current polygon item.
    
    The current "create polygon" command is extended so the 
    coordinates can be specified as a list of lists of coordinates, each 
    list comprise a part of the polygon, with the outer polygin first.  This 
    alternative requieres that the current command determines what kind 
    of list it has as parameter, and takes the appropriate action.
    
    Aternative 2: New compound item.
    
    New command "create compond <list> <options>...", with syntax as 
    "create polygon" as above where <list> is a list of list of 
    coordinates.
    
    Alternative 3: New complex item
    
    New command "create complex <ti1> <ti2> ..." where <ti?> is a tag 
    or identifier identifying existing items in the canvas.  These items 
    may now be considered as a 'group', with a single identity.  It may 
    then be possible to specify as an option "-eofill 1" to specify that 
    polygons in the group is to be painted with even-odd fill.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "agnar"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "Support for complex polygons in canvas"
  11. type changed to: "RFE"