The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Term::Caca::Constants - libcaca constants from caca.h

VERSION

version 3.1.0

SYNOPSIS

Import all constants into current package/namespace:

Only import the constants pertaining to events and keys:

use Term::Caca qw(:events :keys);

EXPORT TAGS

:colors

BLACK BLUE GREEN CYAN RED
MAGENTA BROWN LIGHTGRAY DARKGRAY LIGHTBLUE
LIGHTGREEN LIGHTCYAN LIGHTRED LIGHTMAGENTA YELLOW
WHITE DEFAULT TRANSPARENT

:events

NO_EVENT ANY_EVENT
KEY_PRESS KEY_RELEASE
MOUSE_PRESS MOUSE_RELEASE MOUSE_MOTION
RESIZE QUIT

:keys

KEY_UNKNOWN
KEY_DELETE KEY_TAB KEY_PAUSE KEY_RETURN KEY_BACKSPACE KEY_ESCAPE
KEY_UP KEY_DOWN KEY_LEFT KEY_RIGHT
KEY_INSERT KEY_HOME KEY_END KEY_PAGEUP KEY_PAGEDOWN
KEY_F1 KEY_F2 KEY_F3 KEY_F4 KEY_F5 KEY_F6 KEY_F7 KEY_F8
KEY_F9 KEY_F10 KEY_F11 KEY_F12 KEY_F13 KEY_F14 KEY_F15

:features

FEATURE_UNKNOWN
BACKGROUND
BACKGROUND_BLACK
BACKGROUND_SOLID
BACKGROUND_MIN
BACKGROUND_MAX
ANTIALIASING
ANTIALIASING_NONE
ANTIALIASING_PREFILTER
ANTIALIASING_MIN
ANTIALIASING_MAX
DITHERING
DITHERING_NONE
DITHERING_ORDERED2
DITHERING_ORDERED4
DITHERING_ORDERED8
DITHERING_RANDOM
DITHERING_MIN
DITHERING_MAX

AUTHORS

  • John Beppu <beppu@cpan.org>

  • Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019, 2018, 2013, 2011 by John Beppu.

This is free software, licensed under:

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