| 1 | package Imager::Filter::FishEye; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use 5.008001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | our $VERSION = "0.04"; | |
| 8 | 1 | require XSLoader; | |
| 9 | 1 | XSLoader::load( 'Imager::Filter::FishEye', $VERSION ); | |
| 10 | } | ||
| 11 | |||
| 12 | 1 | my %defaults = ( d => 40, r => -1 ); | |
| 13 | |||
| 14 | Imager->register_filter( | ||
| 15 | type => 'fisheye', | ||
| 16 | 0 | ▶ | callsub => sub { my %hsh = @_; __fisheye( $hsh{image}, $hsh{r}, $hsh{d} ) }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 17 | 1 | defaults => \%defaults, | |
| 18 | callseq => ['image'] | ||
| 19 | ); | ||
| 20 | |||
| 21 | 1 | 1; | |
| 22 | __END__ | ||