Rsvg Namespace Reference

The librsvgmm namespace. More...

Classes

class Error
 Exception class for reporting errors. More...
struct DimensionData
 Dimensions of an SVG fragment. More...
struct PositionData
 Position of an SVG fragment. More...
class Handle
 Create and manipulate SVG objects. More...

Functions

void init ()
 Initialize librsvgmm for use.
void term ()
 Shut down librsvgmm.
void set_default_dpi (double dpi)
 Sets the DPI for all future pixel calculations.
void set_default_dpi (double dpi_x, double dpi_y)
 Sets the DPI for all future pixel calculations.

Detailed Description

The librsvgmm namespace.


Function Documentation

void Rsvg::init (  ) 

Initialize librsvgmm for use.

void Rsvg::set_default_dpi ( double  dpi_x,
double  dpi_y 
)

Sets the DPI for all future pixel calculations.

Common values are 75, 90, and 300 DPI. Passing a number <= 0 to dpi_x or dpi_y will reset the DPI to whatever the default value happens to be.

Parameters:
dpi_x Horizontal dots per inch (aka pixels per inch)
dpi_y Vertical dots per inch (aka pixels per inch)
void Rsvg::set_default_dpi ( double  dpi  ) 

Sets the DPI for all future pixel calculations.

Common values are 75, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be.

Parameters:
dpi Dots per inch (aka pixels per inch)
void Rsvg::term (  ) 

Shut down librsvgmm.


Generated by  doxygen 1.6.2