### Namespace

# Rsvg – 2.0

Librsvg - load and render SVG documents

#### Classes

Handle |
since: 2.0 |

#### Structs

DimensionData |
Dimensions of an SVG image from deprecated: 2.46. since: 2.0 |

Length |
since: 2.0 |

PositionData |
Position of an SVG fragment from deprecated: 2.46. since: 2.0 |

Rectangle |
A data structure for holding a rectangle. since: 2.46 |

#### Enumerations

Unit |
Units for the since: 2.0 |

#### Bitfields

HandleFlags |
Configuration flags for an since: 2.40.3 |

#### Error Domains

Error |
An enumeration representing possible errors. since: 2.0 |

#### Callbacks

SizeFunc |
Function to let a user of the library specify the SVG’s dimensions. deprecated: 2.14. since: 2.0 |

#### Functions

cleanup |
This function does nothing. deprecated: 2.46 since: 2.36 |

init |
This function does nothing. deprecated: 2.36 since: 2.9 |

pixbuf_from_file |
Loads a new deprecated: Unknown since: 2.0 |

pixbuf_from_file_at_max_size |
Loads a new deprecated: Unknown since: 2.0 |

pixbuf_from_file_at_size |
Loads a new deprecated: Unknown since: 2.0 |

pixbuf_from_file_at_zoom |
Loads a new deprecated: Unknown since: 2.0 |

pixbuf_from_file_at_zoom_with_max |
Loads a new deprecated: Unknown since: 2.0 |

set_default_dpi |
Do not use this function. Create an deprecated: 2.42.3 since: 2.8 |

set_default_dpi_x_y |
Do not use this function. Create an deprecated: 2.42.3 since: 2.8 |

term |
This function does nothing. deprecated: 2.36 since: 2.9 |

#### Function Macros

CHECK_FEATURE |
since: 2.0 |

CHECK_VERSION |
This C macro returns since: 2.0 |

DEPRECATED_FOR |
since: 2.0 |

#### Constants

HAVE_CSS |
since: 2.0 |

HAVE_PIXBUF |
since: 2.0 |

HAVE_SVGZ |
since: 2.0 |

MAJOR_VERSION |
This is a C macro that expands to a number with the major version of librsvg against which your program is compiled. since: 2.0 |

MICRO_VERSION |
This is a C macro that expands to a number with the micro version of librsvg against which your program is compiled. since: 2.0 |

MINOR_VERSION |
This is a C macro that expands to a number with the minor version of librsvg against which your program is compiled. since: 2.0 |

VERSION |
This is a C macro that expands to a string with the version of librsvg against which your program is compiled. since: 2.0 |