David Kröber > Flame-Palette > Flame::Palette

Download:
Flame-Palette-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Flame::Palette - Perl extension to parse, unparse, create, process Flam3 palettes

SYNOPSIS ^

  use Flame::Palette;

  my $pal = Flame::Palette->new;
  $pal->set(index => 0, red => 255, green => 0, blue => 0);
  $pal->set(index => 127, red => 0, green => 255, blue => 0);
  $pal->set(index => 255, red => 0, green => 0, blue => 255);
  $pal->interpolate;
  $pal->unparse_xml(\*STDOUT);

DESCRIPTION ^

This module provides a palette class, which knows these methods:

EXPORT

None.

SEE ALSO ^

Flam3 itself: http://www.flam3.com/

VERSION ^

SVN: $Id: Palette.pm 125 2010-12-28 23:34:37Z daniel $

AUTHOR ^

David Kroeber <david@mousemail.me.uk>

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by David Kroeber

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.2 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: