Gnome2::Rsvg::Handle(3)

NAME
Gnome2::Rsvg::Handle

METHODS

  handle = Gnome2::Rsvg::Handle->new

  handle = Gnome2::Rsvg::Handle->new_from_data ($data)

•   $data (scalar)

May croak with a Glib::Error in $@ on failure.

Since: librsvg 2.14

  handle = Gnome2::Rsvg::Handle->new_from_file ($file_name)

•   $file_name (string)

May croak with a Glib::Error in $@ on failure.

Since: librsvg 2.14

  string or undef = $handle->get_base_uri
Since: librsvg 2.10

  $handle->set_base_uri ($base_uri)

•   $base_uri (string)

Since: librsvg 2.10

  boolean = $handle->close
May croak with a Glib::Error in $@ on failure.

  string = $handle->get_desc
Since: librsvg 2.4

  scalar = $handle->get_dimensions
Since: librsvg 2.14

  scalar = $handle->get_dimensions_sub ($id)

•   $id (string or undef)

Since: librsvg 2.22

  $handle->set_dpi ($dpi)

•   $dpi (double)

  $handle->set_dpi_x_y ($dpi_x, $dpi_y)

•   $dpi_x (double)

•   $dpi_y (double)

  boolean = $handle->has_sub ($id)

•   $id (string)

Since: librsvg 2.22

  string or undef = $handle->get_metadata
Since: librsvg 2.10

  pixbuf = $handle->get_pixbuf

  pixbuf = $handle->get_pixbuf_sub ($id)

•   $id (string or undef)

Since: librsvg 2.14

  scalar = $handle->get_position_sub ($id)

•   $id (string or undef)

Since: librsvg 2.22

  boolean = $handle->render_cairo ($cr)

•   $cr (Cairo::Context)

Since: librsvg 2.22

  $handle->render_cairo ($cr)

•   $cr (Cairo::Context)

Since: librsvg 2.14

  boolean = $handle->render_cairo_sub ($cr, $id)

•   $cr (Cairo::Context)

•   $id (string or undef)

Since: librsvg 2.22

  $handle->render_cairo_sub ($cr, $id)

•   $cr (Cairo::Context)

•   $id (string or undef)

Since: librsvg 2.14

  $handle->set_size_callback ($size_func, $user_data=undef)

•   $size_func (scalar)

•   $user_data (scalar)

  string = $handle->get_title
Since: librsvg 2.4

  boolean = $handle->write ($data)

•   $data (scalar)

May croak with a Glib::Error in $@ on failure.

SEE ALSO
Gnome2::Rsvg

COPYRIGHT
Copyright (C) 2003-2005, 2010 Torsten Schoenfeld

This software is licensed under the LGPL. See Gnome2::Rsvg for a full notice.