Re: Perl/OpenGL to embed frame

Slaven Rezic <[email protected]> 21 Oct 2006 21:55:22 +0200
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
"Christophe Mertz" <[email protected]> writes:

> Hello Slaven,
> 
> >From a technical point of view I am sure it would be easier to have a
> postscript generator directly inside tk::zinc (as I guess some data usefull
> to generate a postscript file are not fully available from outside Tk::Zinc)
> It would of course have the great advantage of beeing available on any
> plateforme using tk::zinc, whatever scripting language is used.
> 
> The problem is that people using Tk::Zinc are mostly script language user
> (perl, tcl or python...). They are usually not C / C++ programmer.
> 
> Patrick (cc: to this mail) who developed TkZinc has both skills, but his
> time is of course limited and for the moment, as far as I know there is no
> much demand for postscript inside his organisation (CENA/ DTI/SDER....
> whatever the name).
> >From my point of view (intuilab, a SME using tkzinc under the hood) we do
> not really have this need either.
> 
> 
> So may be a perl flavour could be suefull for some user but I fear that its
> future could be limited too....
> 
> 
> Slaven, what was exactly your idea?
> 

It was quite easy to create Tk::CanvasFig which was approximately the
same task: turning the contents of a Tk::Canvas widget into another
vector format intended for printing, in this case the file format of
fig/xfig (but svg or pdf wouldn't be hard either). The introspection
abilities of Tk::Canvas are complete, and allow one to do such a
thing. But it's surely more difficult to create a similar
module/method with Tk::Zinc because of its heavier feature set.

Regards,
        Slaven


> Christophe
> 
> 
> 
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De la part
> de Slaven Rezic
> Envoyé : vendredi 20 octobre 2006 00:09
> À : Christophe Mertz
> Cc : [email protected]; [email protected]
> Objet : Re: Perl/OpenGL to embed frame
> 
> "Christophe Mertz" <[email protected]> writes:
> 
> > Hello,
> > 
> > As mentionned earlier on this list, TkZinc does work on winXP. TkZinc uses
> > openGL behind the scene to propose transparency, gradient, clipping, and
> > other nice features, but for 2D HMI only.
> > 
> > Its is available as a msi, and a new version (bug correction + minor
> > function addition) should be released soon. Patrick, any foreseen date for
> > release?
> > 
> > However there will still not be any postscript generation... any
> volunteer?
> > 
> 
> Would it be acceptable to have a pure-perl version for a postscript
> generator?
> 
> -- 
> Slaven Rezic - slaven <at> rezic <dot> de
> 
>     tkrevdiff - graphical display of diffs between revisions (RCS, CVS or
> SVN)
>     http://ptktools.sourceforge.net/#tkrevdiff
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.5/485 - Release Date: 19/10/2006
> 
> 
> 

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tkruler - Perl/Tk program for measuring screen distances
    http://ptktools.sourceforge.net/#tkruler
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk