Path: ...!postnews.google.com!34g2000hsf.googlegroups.com!not-for-mail From: Mats Newsgroups: comp.lang.tcl Subject: New Canvas Date: Thu, 17 Jul 2008 06:07:15 -0700 (PDT) Organization: http://groups.google.com Lines: 57 Message-ID: NNTP-Posting-Host: 81.227.185.109 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1216300035 20917 127.0.0.1 (17 Jul 2008 13:07:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 17 Jul 2008 13:07:15 +0000 (UTC) Cc: JGodfrey@magestic.com, roger.schneider@addcom.de, kw@codebykevin.com, s.devrieze@pandora.be, petasis@iit.demokritos.gr, jenglish@flightlab.com Complaints-To: groups-abuse@google.com Injection-Info: 34g2000hsf.googlegroups.com; posting-host=81.227.185.109; posting-account=9NT0dAoAAAAbCStWeQBYL9esW7dvKgev User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; sv-se) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1,gzip(gfe),gzip(gfe) Bytes: 3058 ANNOUNCE: tkpath 0.3.0 Tkpath 0.3.0 provides a new canvas widget that is supposed to be 100% compatible with tk::canvas. My major motivation for creating this package was to make something that maps well with SVG graphics (http://www.w3.org/TR/SVG11/). Tkpath adds mainly two things: 1) A number of new item types with options that map easily to SVG objects. 2) A display tree hierarchy with some fancy option inheritance. The new items are: circle ellipse group path pimage pline polyline ppolygon prect ptext Most of them can be configured using styles. Instead of setting similar options for each of them, it is possible to create a style, and then use this style for each similar item. When a style is configured, each item using it will be redisplayed. Using the group item you create a "directory" in the item hierarchy which acts similar to a frame in the widget hierarchy except that options set to the group may be inherited by child items. The only documentation currently is http://tclbitprint.sourceforge.net/tkpath/README.txt which is very sparse. Perhaps the easists way to describe it is to look at the screen shots at http://tclbitprint.sourceforge.net/, look at the tkpath links. Note that previous tkpath releases used the tk::canvas item type plugin model for the new item types. This is no longer possible. Download: just do a cvs checkout (http://sourceforge.net/cvs/? group_id=84344) and build yourself, or just use the pre-built binaries found in the cvs tree. The only non-standard dependency is on cairo-graphics which is getting common in later linux distros. If anyone want to help then focus on documentation, test code, and bug patches. Enjoy, Mats (matsben@gmail.com)