X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=include%2Fsvgtiny.h;h=094d58f3ed403e03a62936cb543760804492d7ec;hb=8e76cd125e02d4c0d09ad34eea8f46c0511704f0;hp=85f146f5e6aa9869e4c6094f9688c396a15c4502;hpb=9275ab30890fe7def93dcfe913c9209d32c2d00e;p=libsvgtiny.git diff --git a/include/svgtiny.h b/include/svgtiny.h index 85f146f..094d58f 100644 --- a/include/svgtiny.h +++ b/include/svgtiny.h @@ -28,7 +28,9 @@ struct svgtiny_shape { char *text; float text_x, text_y; svgtiny_colour fill; + float fill_opacity; /* Between 0.0 and 1.0 */ svgtiny_colour stroke; + float stroke_opacity; /* Between 0.0 and 1.0 */ int stroke_width; }; @@ -47,7 +49,8 @@ typedef enum { svgtiny_OUT_OF_MEMORY, svgtiny_LIBDOM_ERROR, svgtiny_NOT_SVG, - svgtiny_SVG_ERROR + svgtiny_SVG_ERROR, + svgtiny_LIBCSS_ERROR } svgtiny_code; enum {