![]() |
libxputty 0.1
|
Go to the source code of this file.
Functions | |
void | widget_get_svg (Widget_t *w, const char *name) |
widget_get_svg - read svg into Widget_t xlib surface | |
void | widget_get_scaled_svg (Widget_t *w, const char *name) |
widget_get_scaled_svg - read svg scaled into Widget_t xlib surface | |
void | widget_get_svg_from_file (Widget_t *w, const char *filename) |
widget_get_svg_from_file - read svg into Widget_t xlib surface | |
void | widget_get_scaled_svg_from_file (Widget_t *w, const char *filename, int width_t, int height_t) |
widget_get_scaled_svg_from_file - read svg into Widget_t xlib surface | |
cairo_surface_t * | cairo_image_surface_create_from_svg (const char *name) |
cairo_surface_t * cairo_image_surface_create_from_svg | ( | const char * | name | ) |
Definition at line 336 of file xsvgloader.c.
References NSVGimage::height, nsvgDelete(), nsvgParseFromFile(), and NSVGimage::width.
void widget_get_scaled_svg | ( | Widget_t * | w, |
const char * | name | ||
) |
widget_get_scaled_svg - read svg scaled into Widget_t xlib surface
*w | - pointer to the Widget_t which should use the svg |
*name | - pointer to the base64 image data |
Definition at line 269 of file xsvgloader.c.
References b64_decode(), NSVGimage::height, Widget_t::image, Resize_t::init_height, Resize_t::init_width, nsvgDelete(), nsvgParse(), Widget_t::scale, Widget_t::surface, and NSVGimage::width.
void widget_get_scaled_svg_from_file | ( | Widget_t * | w, |
const char * | filename, | ||
int | width_t, | ||
int | height_t | ||
) |
widget_get_scaled_svg_from_file - read svg into Widget_t xlib surface
*w | - pointer to the Widget_t which should use the svg |
*filename | - pointer to the image data file |
width_t | - the requested width |
height_t | - the requested height |
Definition at line 321 of file xsvgloader.c.
References Widget_t::image, nsvgDelete(), nsvgParseFromFile(), and Widget_t::surface.
void widget_get_svg | ( | Widget_t * | w, |
const char * | name | ||
) |
widget_get_svg - read svg into Widget_t xlib surface
*w | - pointer to the Widget_t which should use the svg |
*name | - pointer to the base64 image data |
Definition at line 248 of file xsvgloader.c.
References b64_decode(), NSVGimage::height, Widget_t::image, nsvgDelete(), nsvgParse(), Widget_t::surface, and NSVGimage::width.
void widget_get_svg_from_file | ( | Widget_t * | w, |
const char * | filename | ||
) |
widget_get_svg_from_file - read svg into Widget_t xlib surface
*w | - pointer to the Widget_t which should use the svg |
*filename | - pointer to the image data file |
Definition at line 304 of file xsvgloader.c.
References Widget_t::image, Resize_t::init_height, Resize_t::init_width, nsvgDelete(), nsvgParseFromFile(), Widget_t::scale, and Widget_t::surface.