From d5c3dbb979c18b31f328995eee55a359b234bfad Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 24 Oct 2001 13:21:08 +0000 Subject: *** empty log message *** --- sandbox/local.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sandbox/local.pl') diff --git a/sandbox/local.pl b/sandbox/local.pl index b66f179..d56e708 100644 --- a/sandbox/local.pl +++ b/sandbox/local.pl @@ -3,6 +3,7 @@ use Tk; use Tk::Zinc; use Controls; +use Tk::Photo; require Tk::PNG; $mw = MainWindow->new(); @@ -12,7 +13,7 @@ $penguin = $mw->Photo(-format => 'png', -file => "xpenguin.png"); $top = 1; -$zinc = $mw->Zinc(-render => 0, +$zinc = $mw->Zinc(-render => 1, -borderwidth => 0, -relief => 'sunken', -tile => $papier); @@ -28,7 +29,8 @@ $clip = $zinc->add('rectangle', $gr1, [50, 50, 399, 399], $gr2 = $zinc->add('group', $gr1); $clip2 = $zinc->add('rectangle', $gr2, [200, 200, 450, 450], -filled => 1, - -fillcolor => 'white:100|white:0', +# -fillcolor => 'white:100|white:0', + -fillcolor => 'white:100 0|black:0 100', # -fillcolor => 'white 0 |blue 20|blue 80|black:0 100/270', -linewidth => 0); #$zinc->itemconfigure($gr2, -clip => $clip2); -- cgit v1.1