File Coverage

blib/lib/Graphics/ColorNames/SVG.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Graphics::ColorNames::SVG;
2              
3             require 5.006;
4              
5 2     2   1604 use strict;
  2         4  
  2         57  
6 2     2   10 use warnings;
  2         4  
  2         48  
7              
8 2     2   426 use Graphics::ColorNames::WWW();
  2         6  
  2         118  
9              
10             our $VERSION = '1.13';
11              
12             *NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable;
13              
14             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. 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 for information how to use
37             this module.
38              
39             =head1 SEE ALSO
40              
41             L,
42             Scalable Vector Graphics (SVG) 1.1 Specification, Section 4.2 (L)
43              
44             =head1 AUTHOR
45              
46             Claus FErber
47              
48             =head1 LICENSE
49              
50             Copyright 2008-2009 Claus FErber.
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