# Librsvg Reference Manual

For librsvg version &version; The latest version of this documentation can be found on-line at the GNOME Library.
2003 2004 2005 2006 2007 2008 2009 Dom Lachowicz
2009 2010 Christian Persch
2017 2018 2019 2020 2021 Federico Mena Quintero

## API Reference

Librsvg is a library for rendering Scalable Vector Graphics files (SVG). Specifically, it can take non-animated, non-scripted SVG documents and render them into a Cairo surface. Normally this means an in-memory raster surface, but it could also be any of the other surface types that Cairo supports.

Librsvg supports many of the graphic features in the SVG 1.1 and SVG2 specifications. The main features of SVG that librsvg does not support are the following:

- Scripting or animation - Librsvg reads SVG data and renders it to a static image. There is no provision to execute scripts that may control animation parameters.

- Access to the DOM - Librsvg creates an internal representation of the SVG data, but it does not provide outside access to the resulting Document Object Model (DOM).

- SVG fonts - Instead, librsvg relies on the system's fonts, particularly those that are available through Cairo/Pango.

## Object Hierarchy

API Index

Index of deprecated symbols

Index of new symbols in 2.4

Index of new symbols in 2.8

Index of new symbols in 2.9

Index of new symbols in 2.14

Index of new symbols in 2.22

Index of new symbols in 2.32

Index of new symbols in 2.36

Index of new symbols in 2.46

Index of new symbols in 2.48

Index of new symbols in 2.52

## Licence

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You may obtain a copy of the GNU Lesser General Public Licence from the Free Software Foundation at GNU Licences web site or by writing to:

            The Free Software Foundation, Inc.,
            51 Franklin St – Fifth Floor,
            Boston, MA 02110-1301,
            USA