Re: Announce: tkpath 0.2




Thanks for the answer.

Do you have any plans on when it could happen, to
be able to print with all tkpath capabilities on
Windows?

Ramon Ribó

En Mon, 17 Jul 2006 16:27:36 +0200, <matsben@xxxxxxxxx> escribió:


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




--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan@xxxxxxxxxxxxx
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46
.



Relevant Pages

  • 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)
  • Re: Drawing on DC
    ... can you finally say me about a good guide to Windows ... for drawing in OnMouseMove is that the mouse is captured and the window ... The strokes are going into the container where it counts. ...
    (microsoft.public.vc.mfc)
  • Re: Drawing on DC
    ... can you finally say me about a good guide to Windows ... for drawing in OnMouseMove is that the mouse is captured and the window ... The strokes are going into the container where it counts. ... I am not trying to overwhelm you. ...
    (microsoft.public.vc.mfc)
  • 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)
  • Re: Hints on Drawing in TASM
    ... Theres a few chapters there on speedy line drawing. ... For windows: Use DirectX backbuffer or a GDI BitmapSection to draw in. ... Today some people use Hardware line drawing, ...
    (alt.lang.asm)