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;



( run in 0.719 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )