John Beppu > Term-Caca-0.95 > Term::Caca

Download:
Term-Caca-0.95.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.95   Source   Latest Release: Term-Caca-2.0_0

NAME ^

Term::Caca - perl interface for libcaca (Colour AsCii Art library)

SYNOPSIS ^

Usage:

  use Term::Caca;
  my $caca = Term::Caca->init();
  $caca->putstr(5, 5, "pwn3d");
  $caca->refresh();
  sleep 3;

DESCRIPTION ^

Methods

init

new

This method instantiates a Term::Caca object. (Note that init() is an alias for new() and that they may be used interchangeably.)

set_delay

Set the amount of time in milliseconds between frames to establish a constant frame rate

get_feature

set_feature

get_feature_name

get_rendertime

get_width

get_height

set_window_title

get_window_width

get_window_height

refresh

get_event

get_mouse_x

get_mouse_y

wait_event

set_color

get_fg_color

get_bg_color

get_color_name

putchar

putstr

printf

clear

draw_line

draw_polyline

draw_thin_line

draw_thin_polyline

draw_circle

draw_ellipse

draw_thin_ellipse

fill_ellipse

draw_box

draw_thin_box

fill_box

draw_triangle

draw_thin_triangle

fill_triangle

rand

sqrt

load_sprite

get_sprite_frames

get_sprite_width

get_sprite_height

get_sprite_dx

get_sprite_dy

draw_sprite

free_sprite

create_bitmap

set_bitmap_palette

draw_bitmap

free_bitmap

LICENSE ^

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar
  22 rue de Plaisance, 75014 Paris, France
 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.

AUTHOR ^

John Beppu <beppu@cpan.org>

SEE ALSO ^

Tie::Array::Pointer,

Term::Caca::Constants, Term::Caca::Sprite, Term::Caca::Bitmap,

Term::Kaka

syntax highlighting: