Go to the source code of this file.
Invoke the rSVG library to render SVG vector graphics with the help of Cairo.
- Note
- This tool is tightly integrated into the Lumiera build process in order to render icons and UI decorations designed as vector graphics, for those cases where it is beneficial to use bitmap graphics within the UI toolkit.
Definition in file rsvg-convert.c.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <librsvg/rsvg.h>
#include <librsvg/rsvg-cairo.h>
|
#define | _(X) X |
|
#define | N_(X) X |
|
|
static void | display_error (GError *err) |
|
int | main (int argc, char **argv) |
|
static void | rsvg_cairo_size_callback (int *width, int *height, gpointer data) |
|
static cairo_status_t | rsvg_cairo_write_func (void *closure, const unsigned char *data, unsigned int length) |
|
◆ RsvgSizeCallbackData
struct RsvgSizeCallbackData |
Class Members |
gint |
width |
|
gint |
height |
|
◆ RsvgSourceRectangle
struct RsvgSourceRectangle |
Class Members |
double |
left |
|
double |
top |
|
double |
width |
|
double |
height |
|