[cairo-commit] cairo-perl/examples png-streams.pl,1.1,1.2
Torsten Schoenfeld
commit at pdx.freedesktop.org
Sat Mar 17 09:13:40 PDT 2007
Committed by: tsch
Update of /cvs/cairo/cairo-perl/examples
In directory kemper:/tmp/cvs-serv2116/examples
Modified Files:
png-streams.pl
Log Message:
* Cairo.xs
* t/Cairo.t: Wrap cairo_get_scaled_font.
* CairoSurface.xs
* t/CairoSurface.t: Re-add the binding for cairo_surface_finish.
It was orignally removed because its effect can also be achieved
by destroying the surface or letting it go out of scope. But
Oleksandr Alex Protasenko convinced me that it's still a good idea
to have it anyway, mainly for paginated surfaces like PDF and PS
which defer rendering as long as they can. With $surf->finish you
can more clearly express what you're intending to do than with
$surf = undef.
* examples/png-streams.pl: Fix indention.
Index: png-streams.pl
===================================================================
RCS file: /cvs/cairo/cairo-perl/examples/png-streams.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- png-streams.pl 11 Aug 2006 18:51:46 -0000 1.1
+++ png-streams.pl 17 Mar 2007 16:13:32 -0000 1.2
@@ -18,7 +18,7 @@
my $buffer;
if ($length != sysread ($rfh, $buffer, $length)) {
- die 'read-error';
+ die 'read-error';
}
return $buffer;
More information about the cairo-commit
mailing list