| 1 | package Graphics::ColorNames::SVG; | ||
| 2 | |||
| 3 | 3 | require 5.006; | |
| 4 | |||
| 5 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | ▶ | use Graphics::ColorNames::WWW(); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 3 | our $VERSION = '1.13'; | |
| 11 | |||
| 12 | 3 | *NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable; | |
| 13 | |||
| 14 | 3 | 1; | |
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Graphics::ColorNames::SVG - SVG color names and equivalent RGB values | ||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | require Graphics::ColorNames::SVG; | ||
| 23 | |||
| 24 | $NameTable = Graphics::ColorNames::SVG->NamesRgbTable(); | ||
| 25 | $RgbBlack = $NameTable->{black}; | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This module defines color names and their associated RGB values | ||
| 30 | from the SVG 1.2 Specification. | ||
| 31 | |||
| 32 | It is currently an alias for L<Graphic::ColorNames::WWW>. This may change in | ||
| 33 | the future. It is recommended to use the WWW module, which will always | ||
| 34 | implement a superset of this module. | ||
| 35 | |||
| 36 | See the documentation of L<Graphics::ColorNames> for information how to use | ||
| 37 | this module. | ||
| 38 | |||
| 39 | =head1 SEE ALSO | ||
| 40 | |||
| 41 | L<Graphics::ColorNames::WWW>, | ||
| 42 | Scalable Vector Graphics (SVG) 1.1 Specification, Section 4.2 (L<http://www.w3.org/TR/SVG/types.html#ColorKeywords>) | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Claus FE<auml>rber <CFAERBER@cpan.org> | ||
| 47 | |||
| 48 | =head1 LICENSE | ||
| 49 | |||
| 50 | Copyright 2008-2009 Claus FE<auml>rber. | ||
| 51 | |||
| 52 | All rights reserved. This program is free software; you can | ||
| 53 | redistribute it and/or modify it under the same terms as Perl | ||
| 54 | itself. | ||
| 55 | |||
| 56 | =cut | ||