[cairo-commit] cairo-perl Cairo.pm, 1.3, 1.4 ChangeLog, 1.9, 1.10 MANIFEST.SKIP, 1.4, 1.5 Makefile.PL, 1.7, 1.8 README, 1.2, 1.3 TODO, 1.2, 1.3

Torsten Schoenfeld commit at pdx.freedesktop.org
Mon Aug 15 11:59:19 PDT 2005


Committed by: tsch

Update of /cvs/cairo/cairo-perl
In directory gabe:/tmp/cvs-serv495

Modified Files:
	Cairo.pm ChangeLog MANIFEST.SKIP Makefile.PL README TODO 
Log Message:
	* Cairo.pm, README: Release 0.01.  Also add stub documentation.

	* MANIFEST.SKIP: Remove CairoEnums.xs.

	* Makefile.PL: Add ABSTRACT_FROM to the WriteMakefile call.

	* TODO: Update to reflect the present situation.


Index: Cairo.pm
===================================================================
RCS file: /cvs/cairo/cairo-perl/Cairo.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Cairo.pm	12 Jul 2005 20:29:47 -0000	1.3
+++ Cairo.pm	15 Aug 2005 18:59:17 -0000	1.4
@@ -14,7 +14,7 @@
 
 our @ISA = qw/DynaLoader/;
 
-our $VERSION = '0.02';
+our $VERSION = '0.01';
 
 Cairo->bootstrap ($VERSION);
 
@@ -52,4 +52,95 @@
 
 # --------------------------------------------------------------------------- #
 
+package GStreamer;
+
 1;
+
+__END__
+
+=head1 NAME
+
+Cairo - Perl interface to the cairo library
+
+=head1 SYNOPSIS
+
+  use Cairo;
+
+  my $surface = Cairo::ImageSurface->create ('argb32', 100, 100);
+  my $cr = Cairo::Context->create ($surface);
+
+  $cr->rectangle (10, 10, 40, 40);
+  $cr->set_source_rgb (0, 0, 0);
+  $cr->fill;
+
+  $cr->rectangle (50, 50, 40, 40);
+  $cr->set_source_rgb (1, 1, 1);
+  $cr->fill;
+
+  $cr->show_page;
+
+  $surface->write_to_png ("output.png");
+
+=head1 ABSTRACT
+
+Cairo provides Perl bindings for the vector graphics library cairo.  It
+supports multiple output targets, including the X Window Systems, PDF, and PNG.
+Cairo produces identical output on all those targets and makes use of hardware
+acceleration wherever possible.
+
+=head1 API DOCUMENTATION
+
+=head2 Cairo::Context
+
+=over
+
+=item Cairo::Context-E<gt>create
+
+Creates a new I<Cairo::Context>.  In the following, I<$cr> will designate a
+I<Cairo::Context>.
+
+=item $cr-E<gt>save
+
+=item ...
+
+=back
+
+=head2 Cairo::Font
+
+=over
+
+=item ...
+
+=back
+
+=head2 ...
+
+=head1 SEE ALSO
+
+=over
+
+=item http://cairographics.org/documentation
+
+Lists many available resources including tutorials and examples
+
+=item http://cairographics.org/manual/
+
+Contains the reference manual
+
+=back
+
+=head1 AUTHORS
+
+=over
+
+=item Ross McFarland E<lt>rwmcfa1 at neces dot comE<gt>
+
+=item Torsten Schoenfeld E<lt>kaffeetisch at gmx dot deE<gt>
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2005 by the cairo perl team
+
+=cut

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-perl/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ChangeLog	10 Aug 2005 17:01:53 -0000	1.9
+++ ChangeLog	15 Aug 2005 18:59:17 -0000	1.10
@@ -1,3 +1,13 @@
+2005/08/15	tsch
+
+	* Cairo.pm, README: Release 0.01.  Also add stub documentation.
+
+	* MANIFEST.SKIP: Remove CairoEnums.xs.
+
+	* Makefile.PL: Add ABSTRACT_FROM to the WriteMakefile call.
+
+	* TODO: Update to reflect the present situation.
+
 2005/08/10	tsch
 
 	* t/Cairo.t, Cairo.xs: Bind cairo_set_antialias and

Index: MANIFEST.SKIP
===================================================================
RCS file: /cvs/cairo/cairo-perl/MANIFEST.SKIP,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- MANIFEST.SKIP	28 Nov 2004 18:27:10 -0000	1.4
+++ MANIFEST.SKIP	15 Aug 2005 18:59:17 -0000	1.5
@@ -3,7 +3,6 @@
 .*\.bs
 build
 .*\.c
-CairoEnums.xs
 CVS
 Makefile$
 Makefile\.old

Index: Makefile.PL
===================================================================
RCS file: /cvs/cairo/cairo-perl/Makefile.PL,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.PL	10 Aug 2005 17:01:54 -0000	1.7
+++ Makefile.PL	15 Aug 2005 18:59:17 -0000	1.8
@@ -209,6 +209,7 @@
 WriteMakefile (
 	NAME => 'Cairo',
 	VERSION_FROM => 'Cairo.pm',
+	ABSTRACT_FROM => 'Cairo.pm',
 	PREREQ_PM => \%prereqs,
 	XSPROTOARG => '-noprototypes',
 	$dep->get_makefile_vars,

Index: README
===================================================================
RCS file: /cvs/cairo/cairo-perl/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- README	12 Jul 2005 20:29:47 -0000	1.2
+++ README	15 Aug 2005 18:59:17 -0000	1.3
@@ -1,9 +1,9 @@
 # $Header$
 
-Cairo version 0.02
+Cairo version 0.01
 ==================
 
-Perl bindings to the Cairo graphics library (http://www.cairographics.org)
+Perl bindings to the cairo graphics library (http://www.cairographics.org).
 
 INSTALLATION
 
@@ -14,7 +14,6 @@
    make test
    make install
 
-
 To avoid installing to a system directory, if you don't have root access,
 you can change the installation prefix at Makefile.PL time with
 

Index: TODO
===================================================================
RCS file: /cvs/cairo/cairo-perl/TODO,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- TODO	12 Nov 2004 03:26:34 -0000	1.2
+++ TODO	15 Aug 2005 18:59:17 -0000	1.3
@@ -1,3 +1,2 @@
 TODO's
- - creating/in/output/destroing structs (translate c <-> perl)
- - xlib, xcb, glitz, types.
+ - the stream stuff in CairoSurface.xs



More information about the cairo-commit mailing list