Gesture-Simple

 view release on metacpan or  search on metacpan

bin/demo.pl  view on Meta::CPAN


    my $black = SDL::Color->new(
        -r => 0,
        -g => 0,
        -b => 0,
    );

    $self->app->fill($screen_rect, $black);
}

sub update_gesture {
    my $self = shift;
    return unless $self->is_gesturing;

    # add the current point to our list of points for this gesture
    push @{ $self->{gesture} }, [@_];
}

sub end_gesture {
    my $self = shift;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.633 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )