Logo Search packages:      
Sourcecode: ultrastar-ng version File versions  Download package

CairoSVG Class Reference

#include <cairosvg.h>

List of all members.

Detailed Description

SVG to Cairo context loading class. This class enables SVG loading into a cairo context with both libsvg-cairo and librsvg. Rendering is way better with librsvg and libsvg-cairo is not maintained anymore

Definition at line 11 of file cairosvg.h.

Public Member Functions

 CairoSVG (const char *data, size_t data_len, unsigned int _width, unsigned int _height)
 CairoSVG (const char *filename, unsigned int _width, unsigned int _height)
cairo_surface_t * getCairoSurface (void)
SDL_Surface * getSDLSurface (void)
 ~CairoSVG (void)

Private Attributes

SDL_Surface * sdl_svg
cairo_surface_t * surface

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index