Have you looked at Tk::Zinc?

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;

to
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.


In reply to Re: Perl/Tk and Transparent Canvases by bcarroll
in thread Perl/Tk and Transparent Canvases by Mikster

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.