X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=svg.h;h=b50a869f6ae20a1660e2122522fb29440520ce11;hb=63549401134446b1ffedc1e128ba9e4e045451fd;hp=09f8bd3be6fdee7b0ff52f2dc80b60cfa36cbc78;hpb=44b0ec8816c3cf1a5858fec0c51e075cedefc3eb;p=leo.git diff --git a/svg.h b/svg.h index 09f8bd3..b50a869 100644 --- a/svg.h +++ b/svg.h @@ -4,8 +4,8 @@ * (c) 2014 Martin Mares */ -#ifndef _BRUM_SVG_H -#define _BRUM_SVG_H +#ifndef _LEO_SVG_H +#define _LEO_SVG_H // FIXME: Passing SVG pointers everywhere is ugly, using global context less so. @@ -69,6 +69,8 @@ void svg_path_line_to(struct svg *svg, double x, double y); void svg_path_line_to_rel(struct svg *svg, double x, double y); void svg_path_close(struct svg *svg); +char *svg_format_dimen(struct svg *svg, double val); + /* svg-icon.c */ struct svg_icon {