New Canvas




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@xxxxxxxxx)

.