Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / Pastel.pm
CommitLineData
86530b38
AT
1#$Id: Pastel.pm,v 1.12 2003/05/08 18:00:44 malay Exp $
2# Perl module for Pastel
3# Author: Malay < curiouser@ccmb.res.in >
4# Copyright (c) 2003 by Malay. All rights reserved.
5# You may distribute this module under the same terms as Perl itself
6
7=head1 NAME
8
9Pastel - 2D graphic library and Scalable Vector Graphics (SVG) generator
10
11=head1 SYNOPSIS
12
13 use Pastel;
14 my $g = Pastel::Graphics->new(); # create a graphics context
15 ...
16 # various graphics routines here
17 ...
18 $g->show(); # dump the SVG graphics on STDOUT
19 $g->get_svg(); # get the SVG graphics as string
20
21=head1 DESCRIPTION
22
23This module is just a wrapper class to call all the other module. The
24main work-horse of the whole package is C<Pastel::Graphics>. After
25calling C<use Pastel> a graphics context should be created by creating
26an instance of C<Pastel::Graphics>. After calling various method
27calls, the graphics object can be dumped as SVG on STDOUT by calling
28C<show()> method of the graphics object. Alternatively, the graphics
29object can be returned as string by calling C<get_svg()> method.
30
31=cut
32
33
34package Pastel;
35
36$VERSION = 0.04;
37
38use strict;
39
40use Pastel::Mixin::Mixin; # For _rearrange function
41use Pastel::Graphics;
42use Pastel::BasicStroke;
43#use Pastel::Geometry::Shape;
44use Pastel::Shape;
45use Pastel::Geometry::Point;
46use Pastel::Geometry::Line;
47use Pastel::Geometry::Rectangle;
48use Pastel::Geometry::GeneralPath;
49use Pastel::Color;
50use Pastel::Tools::Writer;
51use Pastel::Font;
52#use Pastel::Text;
53use Pastel::String;
54use Pastel::Geometry::Ellipse;
55use Pastel::GradientStop;
56use Pastel::GradientI;
57use Pastel::LinearGradient;
58use Pastel::Geometry::AffineTransform;
59use Pastel::Text::AttributedString;
60use Pastel::Geometry::Circle;
61
62
63=head1 SEE ALSO
64
65 L<Pastel::Graphics>
66
67=head1 COPYRIGHTS
68
69Copyright (c) 2003 by Malay <curiouser@ccmb.res.in>. All rights reserved.
70
71This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
72
73=cut
74
75
76
77
781;