__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
use strict;
use warnings;
my $surface = Cairo::ImageSurface->create ('argb32', 1000, 1000);
my $context = CustomContext->create ($surface);
$context->draw_star;
$context->show_page;
$surface->write_to_png ($0 . '.png');
package CustomContext;
use strict;
use warnings;
use Cairo;
use Math::Trig qw/pi/;
use base qw/Cairo::Context/;
sub create {
my ($package, $surface) = @_;
my $self = $package->SUPER::create($surface);
return bless $self, $package;
}
sub draw_star {
my ($self) = @_;
my $width = $self->get_target()->get_width();
my $height = $self->get_target()->get_height();
$self->rectangle (0, 0, $width, $height);
$self->set_source_rgb (1, 1, 1);
$self->fill;
$self->save;
{
$self->set_source_rgba (0, 0, 0, 0.5);
$self->translate ($width / 2, $height / 2);
my $mx = $width / 3.0;
my $count = 100;
foreach (0 .. $count-1) {
$self->new_path;
$self->move_to (0, 0);
$self->rel_line_to (-$mx, 0);
$self->stroke;
$self->rotate ((pi() * 2) / $count);
}
}
$self->restore;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| png | Folder | 0755 |
|
|
| freetype-font.pl | File | 761 B | 0644 |
|
| glyph-text.pl | File | 1.25 KB | 0644 |
|
| mime-unique-id.pl | File | 6.33 KB | 0755 |
|
| pdf-tagged-text.pl | File | 7.01 KB | 0755 |
|
| png-streams.pl | File | 693 B | 0644 |
|
| simple.pl | File | 1.24 KB | 0644 |
|
| subclassing.pl | File | 1.06 KB | 0644 |
|
| twisted-text.pl | File | 8.18 KB | 0644 |
|