From: Jeff H. <je...@ac...> - 2009-04-02 16:50:00
|
On 02/04/2009 3:51 AM, Arjen Markus wrote: > On 2009-04-02 12:41, Paul Alfille wrote: > >> Thank you for the responses. I guess I misspoke. Having the canvas >> available as a svg (or other supported vector graphics) format would be >> even better. My personal use was for making shrunken views of the >> current canvas available as an icon or menu button. Another use would be >> creating a drawing program. This just seems like an underdeveloped >> portion of the Tk toolkit. > > you can of course use the canvas scale subcommand to shrink the image > and the Img package to capture it in an image. Or you could use the > tkpath extension to directly manipulate SVGs. On a related note, we recently beat the tkpath build system into shape. It now works across the board and you'll find it in the teapot for Windows, OS X soon (in build rotation). Not for Linux or the others until we update systems to have the necessary Cairo prereqs. Jeff |