---
name: "Rsvg"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Rsvg"
---

# Rsvg(3o)

librsvg bindings

## NAME

Rsvg - librsvg bindings

## Module

Module   Rsvg

## Documentation

Module **Rsvg**\
  :  **sig end**

librsvg bindings

*type size\_fun* =  **int -\> int -\> int \* int**

*val at\_size* :  **int -\> int -\> size\_fun**

*val at\_zoom* :  **float -\> float -\> size\_fun**

*val at\_max\_size* :  **int -\> int -\> size\_fun**

*val at\_zoom\_with\_max* :  **float -\> float -\> int -\> int -\> size\_fun**

*val set\_default\_dpi* :  **float -\> unit**

*val render\_from\_string* :  **?gz:bool -\>** **?dpi:float -\>** **?size\_cb:size\_fun -\> ?pos:int -\> ?len:int -\> string -\> GdkPixbuf.pixbuf**

**Raises Sys\_error** if an error occurs while reading from the channel

*val render\_from\_file* :  **?gz:bool -\>** **?dpi:float -\> ?size\_cb:size\_fun -\> string -\> GdkPixbuf.pixbuf**

**Raises Sys\_error** if an error occurs while reading from the file
