librsvg-2.0
Description:
Library for rendering of SVG vector graphics.
- C-Documentation: https://developer-old.gnome.org/rsvg/unstable/
- Devhelp-Package download
Content:
Namespaces:
- Rsvg
- Handle - [class@Rsvg.
- DimensionData - Dimensions of an SVG image from [method@Rsvg.
- Length - `RsvgLength` values are used in [ method@Rsvg.
- PositionData - Position of an SVG fragment from [method@Rsvg.
- Rectangle - A data structure for holding a rectangle.
- HandleFlags - Configuration flags for an [ class@Rsvg.
- Unit - Units for the `RsvgLength` struct.
- Error - An enumeration representing possible errors
- public delegate void SizeFunc (out int width, out int height)
Function to let a user of the library specify the SVG's dimensions
- public void cleanup ()
This function does nothing.
- public Quark error_quark ()
- public void init ()
This function does nothing.
- public Pixbuf? pixbuf_from_file (string filename) throws Error
Loads a new `GdkPixbuf` from
filename
and returns it. - public Pixbuf? pixbuf_from_file_at_max_size (string filename, int max_width, int max_height) throws Error
Loads a new `GdkPixbuf` from
filename
and returns it. - public Pixbuf? pixbuf_from_file_at_size (string filename, int width, int height) throws Error
Loads a new `GdkPixbuf` from
filename
and returns it. - public Pixbuf? pixbuf_from_file_at_zoom (string filename, double x_zoom, double y_zoom) throws Error
Loads a new `GdkPixbuf` from
filename
and returns it. - public Pixbuf? pixbuf_from_file_at_zoom_with_max (string filename, double x_zoom, double y_zoom, int max_width, int max_height) throws Error
Loads a new `GdkPixbuf` from
filename
and returns it. - public void set_default_dpi (double dpi)
Do not use this function.
- public void set_default_dpi_x_y (double dpi_x, double dpi_y)
Do not use this function.
- public void term ()
This function does nothing.
- Version
- public const int MAJOR
This is a C macro that expands to a number with the major version of librsvg against which your program is compiled.
- public const int MICRO
This is a C macro that expands to a number with the micro version of librsvg against which your program is compiled.
- public const int MINOR
This is a C macro that expands to a number with the minor version of librsvg against which your program is compiled.
- public const string STRING
This is a C macro that expands to a string with the version of librsvg against which your program is compiled.