Inconsistent API for $pixbuf->render_pixmap_and_mask



The C API for gdk_pixbuf_render_pixmap_and_mask () is documented as so:

void gdk_pixbuf_render_pixmap_and_mask
                                     (GdkPixbuf *pixbuf,
                                      GdkPixmap **pixmap_return,
                                      GdkBitmap **mask_return,
                                      int alpha_threshold);

but the Perl API says the function is defined as:

$pixbuf->render_pixmap_and_mask($alpha_threshold);

Is the Perl version missing some parameters or does it return the pixmap and
mask as a list from the function?

--
Jason Bodnar
jason shakabuku org
http://www.shakabuku.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]