Leser: 3
4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;
use Tk;
my $mw =tkinit;
my $c = $mw->Canvas->pack(-fill => 'both',
-expand => 1);
$c->createArc(40,40,140,160,
-style => 'arc',
-start => 55,
-extent => 250,
-width => 30,
);
MainLoop;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use Tk::Canvas;
my $mw = tkinit();
my $c = $mw->Canvas->pack(-fill => 'both',
-expand => 1);
$c->createArc(40,40,180,160,
-style => 'arc',
-start => 90,
-extent => 180,
-width => 30,
);
$mw->MainLoop();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
X
|
| 0
|
|
|
|
|
-------------+-------------
|
|
|
|
|
0 |
|
X
4 Einträge, 1 Seite |