Re: Announce: tkpath 0.2




Ramon Ribó skrev:

Hello,

tkpath seems like a very nice addition to Tk.

Currently, in order to print on Windows, one can use the
"print" package for dealing with the printer and the "gdi" package
for drawing (both developed by Michael I. Schwartz). The "gdi" package
only permmits very simple drawing. Would it be possible to use tkpath
in order to draw for printing? Would it have a command to print text
with all the unicode chars?


This is why I wrote the tclbitprint package that is supposed to be a
more
general and x-platform way of printing where I essentially have
rewritten
the canvas widget to draw on a user defined graphics device.

Currently I only have MacCarbonPrint for MacOSX but it shouldn't be
too difficult to write the windows printing stuff.
All drawing is already there using tk drawing in the canvas.
When tkpath gets more mature I can add also this code to tclbitprint.

The gdi package isn't very smart since it is completely tied to GDI
drawing.

Mats

.



Relevant Pages

  • Re: Announce: tkpath 0.2
    ... This package implements path drawing modelled after its SVG ... similar to existing canvas items I have prepended the names with a "p". ... If tkpath items were being added to existing canvas ...
    (comp.lang.tcl)
  • ANNOUNCE: tkpath 0.2.4
    ... Tkpath is an extension package to Tcl/Tk that provides much improved ... New tkpath::surface command which creates in memory drawing ... Empty gradient -stops ... My Coccinella sources contain a SVG importer that can handle some SVG ...
    (comp.lang.tcl)
  • Re: Announce: tkpath 0.2
    ... tkpath seems like a very nice addition to Tk. ... only permmits very simple drawing. ... > similar to existing canvas items I have prepended the names with a "p". ... A prect with no radius draws using native Rect API in most cases, ...
    (comp.lang.tcl)
  • Re: ANNOUNCE: tkpath 0.1
    ... > This is the first release of the tkpath extension package to Tcl/Tk. ... > The package implements path drawing modelled after its SVG counterpart, ... > It is very flexible and reproduces all standard drawing canvas items. ...
    (comp.lang.tcl)
  • Re: Announce: tkpath 0.2
    ... tkpath seems like a very nice addition to Tk. ... Currently, in order to print on Windows, one can use the ... only permmits very simple drawing. ... general and x-platform way of printing where I essentially have ...
    (comp.lang.tcl)