[perl-Gtk2] Gtk2::Gdk::Cairo::Context: document 4-arg rectangle() variant too
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2] Gtk2::Gdk::Cairo::Context: document 4-arg rectangle() variant too
- Date: Fri, 30 Sep 2011 21:11:21 +0000 (UTC)
commit 50fbd54e66f83d5cd49b526df64d5555d6cc2bf0
Author: Kevin Ryde <user42 zip com au>
Date: Wed Aug 31 09:42:25 2011 +1000
Gtk2::Gdk::Cairo::Context: document 4-arg rectangle() variant too
https://bugzilla.gnome.org/show_bug.cgi?id=632413
xs/GdkCairo.xs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/xs/GdkCairo.xs b/xs/GdkCairo.xs
index ee3d4df..78d7e48 100644
--- a/xs/GdkCairo.xs
+++ b/xs/GdkCairo.xs
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005 by the gtk2-perl team (see the file AUTHORS)
+ * Copyright (c) 2005, 2011 by the gtk2-perl team (see the file AUTHORS)
*
* Licensed under the LGPL, see LICENSE file for more information.
*
@@ -68,10 +68,13 @@ void gdk_cairo_set_source_pixbuf (cairo_t *cr, GdkPixbuf *pixbuf, double pixbuf_
# void gdk_cairo_rectangle (cairo_t *cr, GdkRectangle *rectangle);
=for apidoc
=for signature $gdkcr->rectangle ($rectangle)
+=for signature $gdkcr->rectangle ($x, $y, $width, $height)
=for signature Gtk2::Gdk::Cairo::Context::rectangle ($anycr, $rectangle)
=for arg rectangle (Gtk2::Gdk::Rectangle)
=for arg cr (__hide__)
=for arg ... (__hide__)
+The 4-argument x,y,width,height is the base L<Cairo::Context> style. This
+extends to also take a C<Gtk2::Gdk::Rectangle>.
=cut
void
gdk_cairo_rectangle (cairo_t *cr, ...)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]