Imager::LineTrace - Line tracer

# Tracing clockwise from left top. Expected Input and Result # Enter a figure made up of line vertical or horizontal. my $img = Imager::LineTrace->new( xsize => 16, ysize => 16 ); $img->box( filled => 1, color => 'white' ); $img->setpixel( x => 3, y ...

TMITOH/Imager-LineTrace-0.06 - 10 Aug 2014 05:53:28 GMT

Imager::LineTrace::Figure - Result of line trace

Result object of Imager::LineTracer. RETURN DATA Basic Overview # $figure->{points} is ARRAY reference. foreach my $point (@{$figure_ref->{points}}) { printf( "x = %d, y = %d\n", $point->[0], $point->[1] ); } # If $figure->{is_closed} is 1, end point...

TMITOH/Imager-LineTrace-0.06 - 10 Aug 2014 05:53:28 GMT

Imager::LineTrace::Algorithm - Line trace algorithm

Trace algorithm for Imager::LineTracer. RETURN DATA # $figures_ref is ARRAY reference. my $figures_ref = Imager::LineTrace::Algorithm::search( \@pixels, \%args ); # $figure_ref is HASH reference. my $figure_ref = $figures_ref->[0]; # $figure_ref->{po...

TMITOH/Imager-LineTrace-0.06 - 10 Aug 2014 05:53:28 GMT

3 results (0.07 seconds)