in reply to Perl/Tk and Transparent Canvases
TkZinc is another Canvas which proposes many new functions, some based on openGL
Since the 3.2.2 version, TkZinc also offers as a runtime option, the support for openGL rendering, giving access to features such as antialiasing, transparency, color gradients and even a new, openGL oriented, item type triangles.
TkZinc is available as source in tar.gz format or as Debian or RedHat/Mandrake packages at http://freshmeat.net/projects/zincisnotcanvas/
UPDATE: TkZinc is broken if your Tk version is newer than 802.03
Tk::Zinc object version 804.03 does not match bootstrap parameter 804. +032 at C:/Perl64/lib/DynaLoader.pm line 214. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
I was able to workaround this issue (I have Tk 804.032) by changing the following line in .../site/lib/Tk/Zinc.pm
bootstrap Tk::Zinc $Tk::VERSION;
bootstrap Tk::Zinc '804.03';
Now no errors are reported when I run a script that includes use Tk::Zinc;
WARNING: I do not know if making this change will cause other issues though.
|
|---|