4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use GD;
use GD::Polyline;
my $image = new GD::Image (500,300);
my $black = $image->colorAllocate( 0, 0, 0);
my $polyline = new GD::Polyline;
$polyline->addPt(100, 10);
$polyline->addPt(10, 100);
$image->polydraw($polyline,$black);
binmode STDOUT;
print $image->png;
$gd->line($x1,$y1,$x2,$y2,$color)
4 Einträge, 1 Seite |